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


Click here to return to the 'Not needed if you are already defining PS1 (+ example)' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Not needed if you are already defining PS1 (+ example)
Authored by: maxlyth on May 01, '08 07:48:00PM
Yoy are missing a backslash in the first printf line. It should read:
printf "%s" "${MYPWD/${MYPWD%*\/*}/}" || \

[ Reply to This | # ]