this post was submitted on 02 Oct 2023
6 points (100.0% liked)

Programmer Humor

19544 readers
561 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Sh1nyM3t4l4ss@lemmy.world 2 points 1 year ago (2 children)

Use a shell with decent auto-completion. I have not been irritated by this in years.

[–] nogooduser@lemmy.world 1 points 1 year ago (3 children)

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

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

[–] newIdentity@sh.itjust.works 1 points 1 year ago (1 children)

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.

[–] pgp@sh.itjust.works 1 points 1 year ago (1 children)

The choice of the letter d was brilliant, that's for sure. Now I'm imagining a folder with a large D.

[–] newIdentity@sh.itjust.works 1 points 1 year ago

I don't get what you mean. It doesn't matter if you write a uppercase or lowercase d

[–] rasensprenger@feddit.de 1 points 1 year ago

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

[–] bdonvr@thelemmy.club 1 points 1 year ago

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)

[–] Skimmer@lemmy.zip 0 points 1 year ago (1 children)

What shell would you recommend? 🤔

[–] Sh1nyM3t4l4ss@lemmy.world 1 points 1 year ago

I use fish which is quite nice OOTB, although if you want a posix compliant shell, zsh with some plugins is also great.