|
|
10.7: Use Terminal proxy icons in zsh
Slighty more correct version is given below.
This adds a guard aroud it (to prevent it sending crap if you use non-apple terminal) and uses $HOST instead of $HOSTNAME.
Edited on Aug 27, '11 09:11:30AM by usovalx
10.7: Use Terminal proxy icons in zsh
@usovalx: Good catch on $HOSTNAME vs. $HOST for zsh. The basic proxy icon functionality works even without that, so I didn't notice it. To be clear about the guard, that's only necessary for emacs's shell-mode. If you don't use it, you don't need to modify your .zshrc to add it. Too bad emacs doesn't set $TERM_PROGRAM on OS X -- that check does successfully keep the proxy-icon stuff out of the way of other terminal emulators and things like DTerm, which either don't set $TERM_PROGRAM or set it to something else. I suppose that if you use zsh, you're practically bound to be using other weirdo stuff. :) |
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 |
|