D or d come on

Gollum@feddit.de to Programmer Humor@programming.dev – 1382 points –
225

You are viewing a single comment

Won’t autocomplete fail if you do “cd d” and then try the autocomplete?

Or is that what you mean by “decent” auto-completion?

No, it will probably go to "Documents", and if you hit tab again it should go to "Downloads". (Assuming you have the normal default folders)

bash's autocomplete fails (at least with default settings), but e.g. zsh can figure out what you mean

Not with a decent autocomplete. It will look for a folder starting with a small d and if it doesn't exist it looks at a folder with a large D.