Jump to content

Case insensitive on ZSH?

Go to solution Solved by Fleetscut,

zsh is case insensitive for tab completion. just type cd desktop and hit tab, if there is only one match it will auto replace with the caplitalised version. If theres more than one you get the usual tab completion list

How do I make z shell runs without checking capitalization of the names??

 

for example, I want to go into desktop, I can just type cd desktop instead of cd Desktop.

 

Do I need to change the .zshrc file?? Or ?? 

If it is not broken, let's fix till it is. 

Link to comment
https://linustechtips.com/topic/960924-case-insensitive-on-zsh/
Share on other sites

Link to post
Share on other sites

Exactly why is this a problem? The only case insensitive system on the planet is Windows (and that's not even 100% true). 

PC Specs - AMD Ryzen 7 5800X3D MSI B550M Mortar - 32GB Corsair Vengeance RGB DDR4-3600 @ CL16 - ASRock RX7800XT 660p 1TBGB & Crucial P5 1TB Fractal Define Mini C CM V750v2 - Windows 11 Pro

 

Link to comment
https://linustechtips.com/topic/960924-case-insensitive-on-zsh/#findComment-11650891
Share on other sites

Link to post
Share on other sites

1 minute ago, NelizMastr said:

Exactly why is this a problem? The only case insensitive system on the planet is Windows (and that's not even 100% true). 

I got used to it... I set it up successfully on my mac and I forgot how to set it up on my desktop running ubuntu...

If it is not broken, let's fix till it is. 

Link to comment
https://linustechtips.com/topic/960924-case-insensitive-on-zsh/#findComment-11650899
Share on other sites

Link to post
Share on other sites

5 minutes ago, mrchow19910319 said:

How do I make z shell runs without checking capitalization of the names??

 

for example, I want to go into desktop, I can just type cd desktop instead of cd Desktop.

 

Do I need to change the .zshrc file?? Or ?? 

Linux-filesystems aren't case-insensitive, you're just setting yourself up for trouble and confusion, if you try to come up with some workarounds for that.

Hand, n. A singular instrument worn at the end of the human arm and commonly thrust into somebody’s pocket.

Link to comment
https://linustechtips.com/topic/960924-case-insensitive-on-zsh/#findComment-11650908
Share on other sites

Link to post
Share on other sites

3 minutes ago, WereCatf said:

Linux-filesystems aren't case-insensitive, you're just setting yourself up for trouble and confusion, if you try to come up with some workarounds for that.

I see.

 

Thanks for the clarification! 

If it is not broken, let's fix till it is. 

Link to comment
https://linustechtips.com/topic/960924-case-insensitive-on-zsh/#findComment-11650916
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×