1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-22 16:20:23 +02:00

15021: new %y character; %l semantic back

This commit is contained in:
Andrey Borzenkov 2001-06-22 09:44:06 +00:00
parent 551b5d1499
commit 791e11a084
3 changed files with 17 additions and 1 deletions

View file

@ -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.