this post was submitted on 02 Oct 2023
1409 points (96.7% liked)
Programmer Humor
19821 readers
446 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Use zsh and press tab
The only thing that annoys me is having to wrap wildcard expressions in quotes when using e.g. the find command.
But then it looks more correct, so it's hard to argue with.
You can escape the wildcards as an alternative.
Nice, I didn't know that. I habitually forget the closing quote so this might save me some ire
This. Except don't use zsh because this is default in every single shell
Nope. Bash (at least by default on Ubuntu) doesn't have case insensitive tab completion.
afaik there’s options you can turn on that enable it
search .inputrc and set completion-ignore-case On
Still not a default. Also it's not the same thing.
Bash never does this by default
Bash has never not had tab completion out of the box for me
Tab completion is default, but completing an uppercase word by typing a lowercase letter is not
I can't relate to this issue at all exactly because I use zsh. Also a little bit related but the fuck
Just uninstall bash after
Everyone's playing checkers while my man's playing chess
Everyone's playing checkers while my man's playing chess
I remember having that when I used OhMyZsh, but after going back to a more bespoke config it doesn't work anymore. Also tried using zsh as a different user to ignore my own configs, that doesn't work either.
tldr, it's not default zsh behavior.
It's not default in zsh maybe, but it's default in the oh-my-zsh config most people use.
I ran zsh for a while without that config and manually configured everything and it also works, but takes quite a bit of web searching to find all the knobs to turn.
I don't think most people use oh-my-zsh. It's very popular, and a lot of people use it, but I think most is a stretch.
Either way, it's just a set of plugins and configs so of course you can get it to work on any setup. Just saying that it's not inherent to zsh, and you can probably get similar behavior in most shells with a similar config.