From 791e11a084882f69e1e7373c80024d3f78b10baa Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Fri, 22 Jun 2001 09:44:06 +0000 Subject: 15021: new %y character; %l semantic back --- Doc/Zsh/prompt.yo | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Doc/Zsh/prompt.yo') diff --git a/Doc/Zsh/prompt.yo b/Doc/Zsh/prompt.yo index e486b29c4..80fd736c3 100644 --- a/Doc/Zsh/prompt.yo +++ b/Doc/Zsh/prompt.yo @@ -120,7 +120,12 @@ tt(%K)/tt(%L) correspond to tt(%k)/tt(%l) for the hour of the day (24/12 hour clock) in the same way. ) item(tt(%l))( -The line (tty) the user is logged in on. +The line (tty) the user is logged in on without tt(/dev/) prefix. +If name starts with tt(/dev/tty) this is stripped. +) +item(tt(%y))( +The line (tty) the user is logged in on without tt(/dev/) prefix. +It does not treat tt(/dev/tty*) specially. ) item(tt(%?))( The return code of the last command executed just before the prompt. -- cgit 1.4.1