Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: prompt and ssh
- X-seq: zsh-users 14146
- From: Miek Gieben <miek@xxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: prompt and ssh
- Date: Tue, 19 May 2009 19:13:35 +0200
- In-reply-to: <e7db6e960905190954j7be72739p6b521bca8e90fe7f@xxxxxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <e7db6e960905190954j7be72739p6b521bca8e90fe7f@xxxxxxxxxxxxxx>
[ Quoting ugaciaka in "prompt and ssh"... ]
> Hi,
>
> I would like to change the type of zsh prompt the remote client (ssh):
> if I connected remotely show differently prompt...
>
> What kind of condition if I can put on PS1?
if you login remotely with ssh, SSH_CLIENT gets set, so you can check
that in your prompt.
grtz Miek
Attachment:
signature.asc
Description: Digital signature
Messages sorted by:
Reverse Date,
Date,
Thread,
Author