# HG changeset patch # User Edho Arief # Date 1322848044 -25200 # Node ID cf23a637f3a503ac209443b544df9b81e0067b71 # Parent 003b0c8870b3cc42c2e612460c7fe41416f322e0 Supervisor support. Added on last since I usually install it in virtualenv (hence it has its own python). diff -r 003b0c8870b3 -r cf23a637f3a5 rc/bash --- 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}"