Mercurial > ec-dotfiles
changeset 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 | 38cb6a866d3f |
files | rc/bash |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/rc/bash Thu Nov 24 15:23:18 2011 +0700 +++ b/rc/bash Sat Dec 03 00:47:24 2011 +0700 @@ -133,6 +133,13 @@ fi done +for supbindir in {"${HOME}/app","/opt"}/supervisor{,d}/bin; do + if [ -d "${supbindir}" ]; then + PATH="${PATH}:${supbindir}" + break + fi +done + case "${TERM}" in xterm*|screen*|dtterm*) PROMPT_COMMAND='echo -ne "\033]0;'"${USER:-$LOGNAME}@$(uname -n)"': ${PWD}\007";'"${PROMPT_COMMAND}"