Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
%<< and %{%}
- X-seq: zsh-workers 9934
- From: Tanaka Akira <akr@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: %<< and %{%}
- Date: 01 Mar 2000 00:26:55 +0900
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
I heard that the combination of %<< and %{%} in prompt doesn't work well.
Z(2):akr@is27e1u11% Src/zsh -f
is27e1u11% cd /usr/local/bin
is27e1u11% PS1=$'[%20<..<%/]'
[/usr/local/bin]PS1=$'[%20<..<%/]%{\e[33m%}'
[../local/bin]
Hm. The string in %{..%} is affected to truncation. It is wrong.
zsh-3.0.7 works well.
Z(2):akr@is27e1u11% zsh-3.0.7 -f
is27e1u11% cd /usr/local/bin
is27e1u11% PS1='[%20<..<%/]'
[/usr/local/bin]PS1='[%20<..<%/]%{^[[33m%}'
[/usr/local/bin]
--
Tanaka Akira
Messages sorted by:
Reverse Date,
Date,
Thread,
Author