You are viewing a single thread.
View all comments
89 points

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

permalink
report
reply
26 points

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

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

permalink
report
parent
reply
28 points

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)

permalink
report
parent
reply
25 points

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

permalink
report
parent
reply
9 points

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.

permalink
report
parent
reply
5 points

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

permalink
report
parent
reply
11 points

Oh my zsh?

permalink
report
parent
reply
3 points

No. Zsh. It’s pretty easy to have a nice auto compl. No need for omz. After knowing poweline10k I just use it and syntax highlight plugin, manually installed. There is no need to add entire omz.

permalink
report
parent
reply
6 points

I just don’t use caps when naming directories

permalink
report
parent
reply
2 points

What shell would you recommend? 🤔

permalink
report
parent
reply
16 points

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

permalink
report
parent
reply
4 points

If you need to run a set of commands or a script with fish you can just toss them in a file and run bash file.sh. I have been daily driving fish for years and I don’t even have think about it.

permalink
report
parent
reply
7 points
-9 points

Is fucking irrelevant. Just use your package manager.

permalink
report
parent
reply
4 points

Zsh.

Omg looks like people think omz is a shell.

permalink
report
parent
reply
3 points

I personally like xonsh despite the minor amount of wonkiness it has, it’s so nice to have python available directly in your shell, it takes the “i don’t care about the quality of my code i just want this shit to work with minimal effort”-ness of bash and turns it up to 13.

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

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

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 7.2K

    Monthly active users

  • 953

    Posts

  • 36K

    Comments