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

%l prompt expansion change



> PS1='<%?>%n@%m[%l]:%~%# '
> <0>tretkowski@infinity[tty9]:~%
>                        ^^^
> When I use a zsh binary from potato, %l is handled correct:
> 
> <0>tretkowski@infinity[tty9]:~% ./zsh    <-- potato binary
> <0>tretkowski@infinity[9]:~%

Can you explain what makes this incorrect rather than aesthetic?



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