|
|
ultimate title bar
Okay, combining hysterion's arcane knowledge of XTerm title bars, and my unreasonable love of the command line utility "cut," we arrive at the ultimate title bar. The line below, when put in ~/Library/init/tcsh/aliases.mine, will put the name of your machine, followed by a colon, followed by the first 25 charachters of the most recent command. I have the terminal size set to show in my Terminal prefs, so I get something like ornithopter: less -f /dev/random 80x45 in my title bars. When typing in the line below, type the ^[ and ^G as ctrl-v, ctrl-[ and ctrl-v, ctrl-g.
sched +0:00 alias postcmd 'echo -n "^[]0; `hostname|cut -d. -f1`: `echo !# | cut -b 1-25`^G"'
ultimate title bar
adding
ultimate title bar
This one still gives the error |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks 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 |
|