this post was submitted on 02 Oct 2023
1377 points (96.8% liked)

Programmer Humor

19463 readers
30 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
[–] Damage@slrpnk.net 20 points 1 year ago (5 children)
[–] mojo@lemm.ee 4 points 1 year ago (2 children)

This. Except don't use zsh because this is default in every single shell

[–] chris@l.roofo.cc 18 points 1 year ago (1 children)

Nope. Bash (at least by default on Ubuntu) doesn't have case insensitive tab completion.

[–] PupBiru@kbin.social 2 points 1 year ago (1 children)

afaik there’s options you can turn on that enable it

search .inputrc and set completion-ignore-case On

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

Still not a default. Also it's not the same thing.

[–] Damage@slrpnk.net 5 points 1 year ago (1 children)

Bash never does this by default

[–] mojo@lemm.ee 1 points 1 year ago (1 children)

Bash has never not had tab completion out of the box for me

[–] Damage@slrpnk.net 2 points 1 year ago

Tab completion is default, but completing an uppercase word by typing a lowercase letter is not

[–] Templa@beehaw.org 3 points 1 year ago

I can't relate to this issue at all exactly because I use zsh. Also a little bit related but the fuck

[–] HurgletOfficial@lemmy.basedcount.com 2 points 1 year ago (1 children)
[–] bdonvr@thelemmy.club 2 points 1 year ago (3 children)
[–] funkajunk@lemm.ee 1 points 1 year ago

Everyone's playing checkers while my man's playing chess

No thanks, Ash/Dash is all I need

[–] funkajunk@lemm.ee 1 points 1 year ago

Everyone's playing checkers while my man's playing chess

[–] aleq@lemmy.world 0 points 1 year ago (1 children)

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.

[–] 1984@lemmy.today 5 points 1 year ago (1 children)

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.

[–] aleq@lemmy.world 2 points 1 year ago

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.