News for hackers. Stuff that matters.
Re:OS X Command Line Utilities by wlesieutre on Thursday May 15, 2014 @09:14AM (#7749187)
Does that really not work by default? I would figure it's only an issue if you have your disk formatted as case sensitive, which is usually a bad idea because a lot of devs don't test on it.
Re:OS X Command Line Utilities by raamdev on Thursday May 15, 2014 @12:30PM (#7750474)
No, case-insensitive auto-completion doesn't work by default on OS X. For example, `cd /appli <tab>` does nothing by default (it's not finding `/Applications/`) even though my disk is formatted case-insensitive. However, after adding `set completion-ignore-case on` to my `~/.inputrc` file, I can now type `cd /appli <tab>` and it will auto-complete to `cd /Applications/`.
Re:OS X Command Line Utilities by wlesieutre on Thursday May 15, 2014 @12:58PM (#7750703)
Any idea why Apple has it set up that way? I don't spend much time in the terminal, but case sensitive auto-complete just doesn't sound helpful.
Re:OS X Command Line Utilities by darkarmani on Friday May 16, 2014 @11:41AM (#7756054)
By default OSX's HFS+ volume is configured to be case-insensitive, but case-preserving. So, the filenames will preserve the case, but the filesystem doesn't distinguish based on case. It makes for interesting bugs.