Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
prompt expansion %l inconsistency
- X-seq: zsh-workers 14708
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: "ZSH Workers Mailing List" <zsh-workers@xxxxxxxxxx>
- Subject: prompt expansion %l inconsistency
- Date: Mon, 4 Jun 2001 14:17:09 +0400
- Importance: Normal
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
It expands to number for /dev/tty<-> (2 for /dev/tty2) and base name (e.g.
pts/5 for /dev/pts/5) for anything else. Anybody objects if I change it to
consistently return ${$(tty)#/dev/}?
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author