|
|
Can't get this to work!
I tried what the original post suggested, but my prompt does not dynamically change as I navigate directories.
Correction to original post?
For the solution in the original post to work, I believe you need to set PS1 *inside* the prompt_command function.
Saving PS1, don't change it :)
This is what I have...
Correction to original post?
For the solution in the original post to work, I believe you need to set PS1 *inside* the prompt_command function.
What Version of bash are you using?
With the exception of the export statement that contains the type, this function is exactly (cut and pasted from my profile) what I use and it works perfectly.
What Version of bash are you using?
GNU bash, version 2.04.0(1)-release
Missing backslash?
I tried putting a backslash in front of ${newPWD} in the PS1 definition and it worked. Is that what you use? If so, the backslash got deleted by geeklog in your original post.
What Version of bash are you using?
With the exception of the export statement that contains the type, this function is exactly (cut and pasted from my profile) what I use and it works perfectly. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.19 seconds |
|