Re: Wrong interpretation og '\$' by bash?

2004-08-22 Thread Oliver Elphick
On Sun, 2004-08-22 at 01:52, Nicholas Lativy wrote: PS1=\[\033]0;\$\w/\007\]\$\w/: I tried this here and got the same as you report, a $ for root instead of the expected #. Then I used: PS1='\[\033]0;\$\w/\007\]\$\w/: ' and that worked! I played about a bit and consistently

Wrong interpretation og '\$' by bash?

2004-08-21 Thread Daniel M .
Hello everybody, I have the following lines in ~/.bash_prompt (for all users): -- # set prompt and window title (if running in X terminal) case $TERM in xterm*) PS1=\[\033]0;\$\w/\007\]\$\w/: ;;

Re: Wrong interpretation og '\$' by bash?

2004-08-21 Thread Oliver Elphick
On Sun, 2004-08-22 at 10:10, Daniel M. wrote: Hello everybody, I have the following lines in ~/.bash_prompt (for all users): -- # set prompt and window title (if running in X terminal) case $TERM in xterm*)

Re: Wrong interpretation og '\$' by bash?

2004-08-21 Thread Nicholas Lativy
On Sun, Aug 22, 2004 at 02:10:50AM -0700, Daniel M. wrote: Hello everybody, I have the following lines in ~/.bash_prompt (for all users): PS1=\[\033]0;\$\w/\007\]\$\w/: I tried this here and got the same as you report, a $ for root instead of the expected #. Then I used: