How to have full directory path always shown in mac terminal (like linux terminal)
Problem
In my ubuntu terminal I have always current directory shown completely. Just like this: blabla@blublu:~/music/my_album/classical/beethoven$ But in my Mac (Mac OS X 10.6.5) terminal does not show the full path and it is like this: blabas-MacBook-Pro:classical beethoven$ Is there anyway that I change mac terminal behavior to act like linux terminal?
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: How to have full directory path always shown in mac terminal (like linux terminal)
To let bash return "user@hostname:path/to/directory$" as your prompt, add the following line to your ~/.bash_profile: or if you like having a space between the $ and the command to make the changes take effect immediately, run the following command in every open window (or restart Terminal): EDIT: A list of available strings can be found in the paragraph "PROMPTING" in the man page for bash ( ): PROMPTING
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix