lynn wrote:
> I use the following to setup my $PS1 bash prompt:
>
> PS1="\[\033]0;\w\007\033[32m\...@\h\[\033[36m \W\033[0m\]> "
>
> This attempts to emit the usern...@hostname current_folder> (in color)
You've got the \W and the space before it inside \[...\] which tells
readline not to count it
I use the following to setup my $PS1 bash prompt:
PS1="\[\033]0;\w\007\033[32m\...@\h\[\033[36m \W\033[0m\]> "
This attempts to emit the usern...@hostname current_folder> (in color)
This still works on my Linux and Solaris boxes. It used to work under Cygwin,
but I believe that it began faili
2 matches
Mail list logo