Results 1 to 1 of 1
So I was playing around with color in my bash prompt yesterday and i'm noticing some really weird things. First off this is the prompt i want to have:
Code:
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-17-2005 #1Just Joined!
- Join Date
- Apr 2005
- Posts
- 12
bash prompt crazyness
So I was playing around with color in my bash prompt yesterday and i'm noticing some really weird things. First off this is the prompt i want to have:
but when i use it the words for some starange reason wont go to the next line when I type to many. The just wrap back to the start of the same line and start overwriting whatever is there. Why is it doing this?Code:PS1="\[\e[31;40m\]\u\e[34;40m\]@\e[32;40m\]\h\e[38;40m\]\w \e[34;40m\]$ \[\e[0m\]"
and heres another crazy one. in this one that last half of the prompt blinks? I have no idea how i got it to do that.
i am using debian sarge if that helps.Code:PS1="\[\e[31;40m\]\u\e[5;40m\]@\[\e[32;40m\]\h> \[\e[0m\]" #strange prompt that blinks wtf?
thanks
kyle


Reply With Quote
