zsh-workers
 help / color / mirror / code / Atom feed
* %<< and %{%}
@ 2000-02-29 15:26 Tanaka Akira
  2000-02-29 17:32 ` Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: Tanaka Akira @ 2000-02-29 15:26 UTC (permalink / raw)
  To: zsh-workers

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-02-29 18:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-29 15:26 %<< and %{%} Tanaka Akira
2000-02-29 17:32 ` Bart Schaefer
2000-02-29 18:12   ` PATCH: (partially) " Bart Schaefer
2000-02-29 18:36     ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).