mirror of
https://review.haiku-os.org/haiku
synced 2025-01-18 12:38:51 +01:00
- the linux console doesn't handle the set title escape code,
- renice the shell for OSX, despite claiming to be the most advanced OS it doesn't really handles playing a video while doing a build... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36111 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
6e1b92abf9
commit
61ce1824df
9
3rdparty/mmu_man/scripts/dev-perso
vendored
9
3rdparty/mmu_man/scripts/dev-perso
vendored
@ -105,16 +105,20 @@ function dev() {
|
||||
history -r
|
||||
# set the prompt
|
||||
# cf. http://tldp.org/HOWTO/Bash-Prompt-HOWTO/
|
||||
NICEPS1='\[\033[1m\][\u@\h \w]\[\033[0m\]\$ '
|
||||
case "$TERM" in
|
||||
dumb|emacs)
|
||||
# simpler prompt
|
||||
export PS1='[\u@\h \w]\$ '
|
||||
;;
|
||||
linux)
|
||||
export PS1="$NICEPS1"
|
||||
;;
|
||||
*)
|
||||
# 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[1m\][\u@\h \w]\[\033[0m\]\$ '
|
||||
export PS1="$NICEPS1"
|
||||
export PROMPT_COMMAND='echo -en "\033]0;['$1':${PWD##*/}]\a"'
|
||||
;;
|
||||
esac
|
||||
@ -123,6 +127,9 @@ function dev() {
|
||||
beos|haiku)
|
||||
prio $$ 1
|
||||
;;
|
||||
darwin10.*)
|
||||
renice 3 $$
|
||||
;;
|
||||
linux-*)
|
||||
# linux doesn't really need it much
|
||||
#renice 3 $$
|
||||
|
Loading…
Reference in New Issue
Block a user