|
|
Another bash prompt trick
This is a cool tip, but I've never liked so much stuff in the prompt, so I split it up and put some into the title bar. My prompt is simply two lines:
Another bash prompt trick
This one rocks. Definitely better than what I posted.
Another bash prompt trick
Naw... It's nothing really. This is just old xterm stuff that I've never forgot.
Setting the Terminal window title from tcsh
To set the title of the Terminal window from tcsh you do pretty much the same thing, except tcsh uses an alias to do its magic:
alias cwdcmd 'echo -n "^[]1;$PWD^G"'
Another bash prompt trick
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?)". |
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.09 seconds |
|