- fix typo, it's "dumb" terminal type :)
- move setting the terminal window title to COMMAND_PROMPT, it fixes issues like beeping when editting the command line. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28984 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
64f7e20f9c
commit
a0a4211e6d
6
3rdparty/mmu_man/scripts/dev-perso
vendored
6
3rdparty/mmu_man/scripts/dev-perso
vendored
@ -92,14 +92,16 @@ function dev() {
|
||||
# set the prompt
|
||||
# cf. http://tldp.org/HOWTO/Bash-Prompt-HOWTO/
|
||||
case "$TERM" in
|
||||
dump|emacs)
|
||||
dumb|emacs)
|
||||
# simpler prompt
|
||||
export PS1='[\u@\h \w]\$ '
|
||||
;;
|
||||
*)
|
||||
# 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\$ '
|
||||
export PS1='\[\033[1m\][\u@\h \w]\[\033[0m\]\$ '
|
||||
export PROMPT_COMMAND='echo -e "\033]0;['$1':${PWD##*/}]\a"'
|
||||
;;
|
||||
esac
|
||||
# lower priority so background builds don't slow the GUI too much
|
||||
|
Loading…
Reference in New Issue
Block a user