From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 571 invoked by alias); 7 Dec 2011 04:43:48 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 16604 Received: (qmail 17786 invoked from network); 7 Dec 2011 04:43:47 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 Date: Wed, 7 Dec 2011 15:43:46 +1100 From: Geoff Wing To: Zsh Users Cc: dlin.tw@gmail.com Subject: Fwd: Could you provide bash's \$ which like zsh %#? Message-ID: <20111207044346.GA6356@primenet.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: PrimeNet Computer Consultancy User-Agent: Mutt/1.5.21 (2010-09-15) Please CC replies to Daniel. ----- Forwarded message from Daniel Lin ----- 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 -----