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


Click here to return to the 'Another bash prompt trick' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Another bash prompt trick
Authored by: packy on Jan 29, '02 02:08:10PM
It's even easier than you guys are making it out to be. I set my bash prompt with the following:
PS1="\[\033]0;\u @ \h: \w\007\]\$ "
This sets my widow title to be "<username> @ <hostname>: <path> (ttyp?)".

[ Reply to This | # ]