Re: Converting a zsh prompt to bash

2006-05-19 Thread Thomas Dickey
> Hey Dan! > > Your prompt is truly wonderful. > It inspired me to grow up, as far as my shell is concerned. hmm - no: grownups use tput rather than hardcoding things. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net pgpaAKCgMiHgm.pgp Description: PGP signature

Re: Converting a zsh prompt to bash

2006-05-19 Thread Kyrre Nygard
At 22:48 18.05.2006, Dan Nelson wrote: Mine's strictly functional. User, host, path in left prompt; error status in right prompt. Within screen, I add the window number to the left prompt and the date&time to the right prompt so I know how long I've left a window idle. if [[ $+WINDOW = 1 && $

Re: Converting a zsh prompt to bash

2006-05-19 Thread Kyrre Nygard
At 22:48 18.05.2006, Dan Nelson wrote: In the last episode (May 18), Kyrre Nygard said: > At 17:02 18.05.2006, Dan Nelson wrote: > >In the last episode (May 18), Kyrre Nygard said: > >> At 17:04 17.05.2006, Dan Nelson wrote: > >> >In the last episode (May 17), Kyrre Nygard said: > >> >> Do you th

Re: Converting a zsh prompt to bash

2006-05-18 Thread Dan Nelson
In the last episode (May 18), Kyrre Nygard said: > At 17:02 18.05.2006, Dan Nelson wrote: > >In the last episode (May 18), Kyrre Nygard said: > >> At 17:04 17.05.2006, Dan Nelson wrote: > >> >In the last episode (May 17), Kyrre Nygard said: > >> >> Do you think this would work? > >> >> > >> >> I tr

Re: Converting a zsh prompt to bash

2006-05-18 Thread Kyrre Nygard
At 19:50 18.05.2006, Eric wrote: > Oh man! That is absolutely gorgeous!!! > Thank you so much :))) > > My /etc/zshrc is now worth $10.000 (up from $7.000) > > Don't sell it on eBay you all: http://paste.husk.org/5717 > > Just out of curiosity Dan, how does your prompt look like? > post a screens

Re: Converting a zsh prompt to bash

2006-05-18 Thread Eric
> Oh man! That is absolutely gorgeous!!! > Thank you so much :))) > > My /etc/zshrc is now worth $10.000 (up from $7.000) > > Don't sell it on eBay you all: http://paste.husk.org/5717 > > Just out of curiosity Dan, how does your prompt look like? > post a screenshot somewhere =) sounds like yo

Re: Converting a zsh prompt to bash

2006-05-18 Thread Kyrre Nygard
At 17:02 18.05.2006, Dan Nelson wrote: In the last episode (May 18), Kyrre Nygard said: > At 17:04 17.05.2006, Dan Nelson wrote: > >In the last episode (May 17), Kyrre Nygard said: > >> Do you think this would work? > >> > >> I tried applying your principles, as well as some information design: >

Re: Converting a zsh prompt to bash

2006-05-18 Thread Dan Nelson
In the last episode (May 18), Kyrre Nygard said: > At 17:04 17.05.2006, Dan Nelson wrote: > >In the last episode (May 17), Kyrre Nygard said: > >> Do you think this would work? > >> > >> I tried applying your principles, as well as some information design: > >> > >> local a1="01;36m" > >> local a2=

Re: Converting a zsh prompt to bash

2006-05-18 Thread Kyrre Nygard
At 17:04 17.05.2006, Dan Nelson wrote: In the last episode (May 17), Kyrre Nygard said: > Do you think this would work? > > I tried applying your principles, as well as some information design: > > local a1="01;36m" > local a2="22;36m" > local a3="01;30m" > > local b1="01;31m" > local b2="22;31m"

Re: Converting a zsh prompt to bash

2006-05-17 Thread Dan Nelson
In the last episode (May 17), Kyrre Nygard said: > Do you think this would work? > > I tried applying your principles, as well as some information design: > > local a1="01;36m" > local a2="22;36m" > local a3="01;30m" > > local b1="01;31m" > local b2="22;31m" > local b3="01;30m" > > PROMPT=$'%{$

Re: Converting a zsh prompt to bash

2006-05-17 Thread Kyrre Nygard
At 18:39 16.05.2006, Parv wrote: in message <[EMAIL PROTECTED]>, wrote Kyrre Nygard thusly... > > > This one, with a real nice color setting: > > ([EMAIL PROTECTED])(09:58+16/05) > (%:~) > > Requires all this: > > PROMPT=$'%{\e[01;36m%}(%{\e[22;36m%}%n%{\e[01;30m%}@' > PROMPT+=$'%{\e[22;36m%}%m%{

Re: Converting a zsh prompt to bash

2006-05-17 Thread Kyrre Nygard
At 18:39 16.05.2006, Parv wrote: in message <[EMAIL PROTECTED]>, wrote Kyrre Nygard thusly... > > > This one, with a real nice color setting: > > ([EMAIL PROTECTED])(09:58+16/05) > (%:~) > > Requires all this: > > PROMPT=$'%{\e[01;36m%}(%{\e[22;36m%}%n%{\e[01;30m%}@' > PROMPT+=$'%{\e[22;36m%}%m%{

Re: Converting a zsh prompt to bash

2006-05-16 Thread Parv
in message <[EMAIL PROTECTED]>, wrote Kyrre Nygard thusly... > > > This one, with a real nice color setting: > > ([EMAIL PROTECTED])(09:58+16/05) > (%:~) > > Requires all this: > > PROMPT=$'%{\e[01;36m%}(%{\e[22;36m%}%n%{\e[01;30m%}@' > PROMPT+=$'%{\e[22;36m%}%m%{\e[01;36m%})%{\e[01;36m%}%{\e[0

Converting a zsh prompt to bash

2006-05-16 Thread Kyrre Nygard
Hello! I have a real nice prompt in zsh however I feel its setting in /etc/zshrc might be a bit too much to just specify a prompt. This one, with a real nice color setting: ([EMAIL PROTECTED])(09:58+16/05) (%:~) Requires all this: PROMPT=$'%{\e[01;36m%}(%{\e[22;36m%}%n%{\e[01;30m%}@' PROMPT+