From a0a4211e6dbbcf08c9b5114b0386887a1ead1d6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Fri, 23 Jan 2009 01:02:04 +0000 Subject: [PATCH] - 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 --- 3rdparty/mmu_man/scripts/dev-perso | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/3rdparty/mmu_man/scripts/dev-perso b/3rdparty/mmu_man/scripts/dev-perso index 7ca528ea6f..27931869ab 100755 --- a/3rdparty/mmu_man/scripts/dev-perso +++ b/3rdparty/mmu_man/scripts/dev-perso @@ -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