Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Could you provide bash's \$ which like zsh %#?



Fwiw, here's what I am seeing (on FreeBSD -current using zsh 4.3.12):

lizzy:~% % PS1='%# %(#,$,%%) '
% %
% %
% % sudo -s
lizzy:/home/jos# PS1='%# %(#,$,%%) '
# $
# $

On Tue, Dec 6, 2011 at 9:03 PM, Daniel Lin <dlin.tw@xxxxxxxxx> wrote:

> PS1='%# %(#,$,%%)'



-- 
Jos Backus
jos at catnook.com


Messages sorted by: Reverse Date, Date, Thread, Author