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


Click here to return to the 'What Version of bash are you using?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
What Version of bash are you using?
Authored by: dlandrith on Jan 01, '02 12:11:17PM

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.

I am using bash version 2.05a. What version are you using?



[ Reply to This | # ]
What Version of bash are you using?
Authored by: clh on Jan 01, '02 03:03:48PM

GNU bash, version 2.04.0(1)-release

When you type 'echo $PS1' at the prompt, what does it show?



[ Reply to This | # ]
Missing backslash?
Authored by: clh on Jan 01, '02 03:27:55PM

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.



[ Reply to This | # ]