Mac Forums

Mac Forums (
-   OS X - Operating System (
-   -   Bash Terminal Question? (

macunkie 11-09-2007 08:29 AM

Bash Terminal Question?
On two of my systems I'm still running Tiger. In my .profile I have the command shopt -s cdable_vars which for example enables me to set up individual directory short cuts. For example: docs='/Volumes/Library/Webserver/Documents', which in turns allows me to (from my term.), to navigate to the Documents directory by issuing the command "docs." I recently did a clean install of Leopard and have my .profile set up the same as Tiger. But the "docs" command doesn't seem to work?

Thanks for any input!


macunkie 11-10-2007 07:29 AM

I found my problem. I have my OS partitioned to a directory called "powerbookOSX." With Tiger I could set the shopt -s cdable_vars command to navigate to "/volumes/library". With 10.5 it seems I have to include, "/volumes/powerbookOSX/Library" in order to navigate to my needed directory. Who knew?


All times are GMT -4. The time now is 10:02 AM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.