zsh-users
 help / color / mirror / code / Atom feed
* Fwd: Could you provide bash's \$ which like zsh %#?
@ 2011-12-07  4:43 Geoff Wing
  2011-12-07  4:56 ` Jos Backus
  0 siblings, 1 reply; 7+ messages in thread
From: Geoff Wing @ 2011-12-07  4:43 UTC (permalink / raw)
  To: Zsh Users; +Cc: dlin.tw

Please CC replies to Daniel.

----- Forwarded message from Daniel Lin <dlin.tw@gmail.com> -----

I'm trying to move from bash to zsh.
I found a problem.  My 'expect' scripts require a '$' sign to let me know
its done.

In zsh the %# will display % when user's effective id is not 0.
But, I require another similar function which display '$' instead of '%'.

Could you consider to add this function to help bash users' life easier?

I already change my PS1="\\$"
But its function is not equal to %#.

----- End forwarded message -----


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

end of thread, other threads:[~2011-12-07 10:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-07  4:43 Fwd: Could you provide bash's \$ which like zsh %#? Geoff Wing
2011-12-07  4:56 ` Jos Backus
2011-12-07  5:03   ` Daniel Lin
2011-12-07  5:09     ` Jos Backus
     [not found]       ` <CAPg-njwWN=a6XDv047MwXVSYzuX3Ew5u5tprTnRqFeTpnUopcQ@mail.gmail.com>
     [not found]         ` <CAETOPp3+tdbAMmf9T49Hqc1gfZvYqzXgiLRiAZ=aSCkwWsHKKw@mail.gmail.com>
2011-12-07  7:04           ` Daniel Lin
2011-12-07  8:16             ` Bart Schaefer
2011-12-07 10:10               ` Daniel Lin

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