Results 1 to 2 of 2
  1. #1
    Bash Terminal Question?

    Member Since
    Nov 09, 2007
    Location
    Northern Nevada
    Posts
    5
    Specs:
    MacBook Pro 2.66 ghz i7 - 8 gigs ram
    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

  2. #2
    Bash Terminal Question?

    Member Since
    Nov 09, 2007
    Location
    Northern Nevada
    Posts
    5
    Specs:
    MacBook Pro 2.66 ghz i7 - 8 gigs ram
    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?

    MacUnkie.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Terminal Bash help
    By Zaush in forum OS X - Apps and Games
    Replies: 1
    Last Post: 11-22-2010, 12:14 AM
  2. Messed Up Terminal Bash Please Help!
    By RJDavis in forum OS X - Operating System
    Replies: 1
    Last Post: 10-26-2010, 03:51 PM
  3. Simple bash scripting question
    By svenyonson in forum OS X - Operating System
    Replies: 1
    Last Post: 04-30-2009, 09:18 PM
  4. Terminal.app/bash: Creating An Executable Shell Script
    By ebay in forum Running Windows (or anything else) on your Mac
    Replies: 7
    Last Post: 04-28-2008, 06:43 PM
  5. Awk Scripts - bash terminal?
    By soulredeemer in forum OS X - Development and Darwin
    Replies: 1
    Last Post: 04-04-2004, 02:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •