Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Differrent prompt for remote machines



On Saturday 31 March 2001, at 12 h 32, the keyboard of Zefram <zefram@xxxxxxxx>
 wrote:

> if [[ $TTY == /dev/pts/* 

TTY is a pts both for remote sessions and for X11 sessions.




Messages sorted by: Reverse Date, Date, Thread, Author