Mercurial > ec-dotfiles
comparison rc/bash @ 273:cf23a637f3a5
Supervisor support. Added on last since I usually install it in virtualenv
(hence it has its own python).
author | Edho Arief <edho@myconan.net> |
---|---|
date | Sat, 03 Dec 2011 00:47:24 +0700 |
parents | 003b0c8870b3 |
children | a2f0f4106c00 |
comparison
equal
deleted
inserted
replaced
271:003b0c8870b3 | 273:cf23a637f3a5 |
---|---|
131 PATH="${PATH}:${hgdir}" | 131 PATH="${PATH}:${hgdir}" |
132 break | 132 break |
133 fi | 133 fi |
134 done | 134 done |
135 | 135 |
136 for supbindir in {"${HOME}/app","/opt"}/supervisor{,d}/bin; do | |
137 if [ -d "${supbindir}" ]; then | |
138 PATH="${PATH}:${supbindir}" | |
139 break | |
140 fi | |
141 done | |
142 | |
136 case "${TERM}" in | 143 case "${TERM}" in |
137 xterm*|screen*|dtterm*) | 144 xterm*|screen*|dtterm*) |
138 PROMPT_COMMAND='echo -ne "\033]0;'"${USER:-$LOGNAME}@$(uname -n)"': ${PWD}\007";'"${PROMPT_COMMAND}" | 145 PROMPT_COMMAND='echo -ne "\033]0;'"${USER:-$LOGNAME}@$(uname -n)"': ${PWD}\007";'"${PROMPT_COMMAND}" |
139 PS1='[\[\e[0;33m\]\u\[\e[0m\]@\[\e[0;32m\]\h\[\e[0m\] \[\e[1;34m\]\W\[\e[0m\]]\$ ' | 146 PS1='[\[\e[0;33m\]\u\[\e[0m\]@\[\e[0;32m\]\h\[\e[0m\] \[\e[1;34m\]\W\[\e[0m\]]\$ ' |
140 ;; | 147 ;; |