Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Go to Folder command is case-insensitive System
I don't know if this is new in 10.2 or not, but the Go -> Go To Folder menu item will now autocomplete case-insensitively. That is, if I type...
  /Use[tab]/shar[tab]
... it will appear in the display as:
  /Users/Shared
Note that the lower case 's' I typed has become an upper case 'S'. This does not work in the Terminal (and rightly so), but it is a nice feature in the Finder.
    •    
  • Currently 4.00 / 5
  You rated: 3 / 5 (2 votes cast)
 
[4,952 views]  

Go to Folder command is case-insensitive | 5 comments | Create New Account
Click here to return to the 'Go to Folder command is case-insensitive' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Blimey !
Authored by: little_dude on Oct 07, '02 10:11:45AM

I knew this hint allready, but I'd like to stress its usefulness : IMHO this tabbing goto (a typical shell feature) integrated in a totaly graphical file browser (the finder) is perhaps one of the nicest things to come out of the MacOS - unix marriage.

This feature alone makes the switch from OS9 to OSX worth the learning curve !



[ Reply to This | # ]
case-insensitive completions at the command prompt
Authored by: ebow on Oct 07, '02 10:48:46AM
There is a way to make the command line's tab completions case-insensitive as well. Just add the following line to your ~/Library/init/tcsh/environment.mine file (or your ".tcshrc" file I suppose): set complete = enhance I'm pretty sure that does the trick.

[ Reply to This | # ]
Actually, it *should* work in the Terminal...
Authored by: drsmithy on Oct 07, '02 05:30:44PM
Because, like it or not, OS X is case-insensitive pretty much everywhere (even on the commandline - something like 'ls -l | Grep Desktop' actually works).

Case sensitivity is nothing but a PITA. The sooner it gets relegated to the annals of history, the better.

[ Reply to This | # ]

Actually, it *should* work in the Terminal...
Authored by: JohnnyMnemonic on Oct 07, '02 11:55:27PM
Well, it doesn't seem to, or at least auto complete doesn't.

For instance, "cd /vol[tab]" doesn't auto complete to "cd /Volumes". Although "cd /volumes" will take you to "Volumes", so while navigation is case insensitive, auto complete is not.

[ Reply to This | # ]
A case of case
Authored by: pmccann on Oct 08, '02 10:09:10AM

I think you're misreading the previous respondent, who meant that **it would be a good thing** if it worked in the terminal (ie if all utilities ignored (but preserved) case). If you do want this behaviour in your shell you'll need the hint above (for tcsh): put

set complete=enhance

in your appropriate startup file. (~/.tcshrc, or ~/.cshrc if you don't have a ~/.tcshrc).

If you're a stylish type of user who's switch to the zsh then

zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' #case off

in your ~/.zshrc file (for example) should do the trick.



[ Reply to This | # ]