Remove \[ \] markers in PS1. They are supposed to contain non-displayable control characters, but gnome-terminal is painfully slow at editting the command line with those...

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25937 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol 2008-06-12 11:57:20 +00:00
parent 471913fbd4
commit dfefaa14f3
1 changed files with 2 additions and 1 deletions

View File

@ -98,7 +98,8 @@ function dev() {
;;
*)
# prompt: set window title to [project:folder] also
export PS1='\[\033]0;['$1':\W]\a\]\[\033[1m\][\u@\h \w]\[\033[0m\]\$ '
#export PS1='\[\033]0;['$1':\W]\a\]\[\033[1m\][\u@\h \w]\[\033[0m\]\$ '
export PS1='\033]0;['$1':\W]\a\033[1m[\u@\h \w]\033[0m\$ '
;;
esac
# lower priority so background builds don't slow the GUI too much