Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Fwd: Could you provide bash's \$ which like zsh %#?
- X-seq: zsh-users 16604
- From: Geoff Wing <gcw@xxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Fwd: Could you provide bash's \$ which like zsh %#?
- Date: Wed, 7 Dec 2011 15:43:46 +1100
- Cc: dlin.tw@xxxxxxxxx
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Organization: PrimeNet Computer Consultancy
Please CC replies to Daniel.
----- Forwarded message from Daniel Lin <dlin.tw@xxxxxxxxx> -----
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 -----
Messages sorted by:
Reverse Date,
Date,
Thread,
Author