zsh-users
 help / color / mirror / code / Atom feed
* Prompt truncating, redux
@ 2006-07-01 15:35 Timothy Stone
  2006-07-01 18:25 ` Bart Schaefer
  0 siblings, 1 reply; 3+ messages in thread
From: Timothy Stone @ 2006-07-01 15:35 UTC (permalink / raw)
  To: zsh-users

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

List,

I figured out the expectations of zsh v. tcsh, save "set ellipsis"...  
zsh seems to be able to do this, but I can't sort out the syntax  
using '%<...<%/'

For example:

user@host [...seg1/seg2/seg3] % in tcsh might be set with:

     set prompt = "%n@%m %B[%b%c3%B]%b %% "
     set ellipsis

In zsh, I can get everything but the ellipsis to behave, e.g.,

%
% cd really/deep/path/to/resource
% print -rP '%n@%m %B[%b%3~%B]%b %# '
user@host [path/to/resource] %
%

My various uses of the truncation syntax can't give me the "ellipsis"  
I hope for... any hints? Maybe I'm fretting to much, but given some  
of the really complex options and sample paths I've seen, mine must  
be simple... right? :)

Thanks in advance,
Tim



- --
Timothy Stone   |    www dot petmystone dot com
Rising Sun, MD  |  tstone at petmystone dot com

"This Satan's drink [coffee] is so delicious...
  we shall cheat Satan by baptizing it."
  Pope Clement VIII (1592-1605)


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFEppYvlNb2aYI3YNkRAhMmAJwLfpf7A18RQSmUSPh11+o+0sZ81wCdH4g3
lt3+lAEvMl3Y2G0GzSikG0s=
=7jEU
-----END PGP SIGNATURE-----


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

end of thread, other threads:[~2006-07-02 14:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-01 15:35 Prompt truncating, redux Timothy Stone
2006-07-01 18:25 ` Bart Schaefer
2006-07-02 14:38   ` Timothy Stone

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