comparison rc/bash @ 252:4fe8668e3ef0

Awesome custom paths by default.
author Edho Arief <edho@myconan.net>
date Mon, 14 Nov 2011 11:02:47 +0300
parents 4a8d81743728
children e6de49d70fe7
comparison
equal deleted inserted replaced
250:4a8d81743728 252:4fe8668e3ef0
13 13
14 [ -f "${HOME}/.ecos_bash.before" ] && . "${HOME}/.ecos_bash.before" 14 [ -f "${HOME}/.ecos_bash.before" ] && . "${HOME}/.ecos_bash.before"
15 15
16 _org_path="${PATH}" 16 _org_path="${PATH}"
17 export PATH="${HOME}/.ecos_bin:${HOME}/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" 17 export PATH="${HOME}/.ecos_bin:${HOME}/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
18
19 # Custom application I usually install and safe to prioritize
20 for i in {"${HOME}/app","/opt"}/{tmux,ruby19,node,tarsnap,symon,nginx}/{bin,sbin}; do
21 [ -d "${i}" ] && PATH="${i}:${PATH}"
22 done
18 23
19 case "${TERM}" in 24 case "${TERM}" in
20 xterm*|dtterm*|screen*) 25 xterm*|dtterm*|screen*)
21 PS1='[\[\e[0;33m\]\u\[\e[0m\]@\[\e[0;32m\]\h\[\e[0m\] \[\e[1;34m\]\W\[\e[0m\]]\$ ' 26 PS1='[\[\e[0;33m\]\u\[\e[0m\]@\[\e[0;32m\]\h\[\e[0m\] \[\e[1;34m\]\W\[\e[0m\]]\$ '
22 ;; 27 ;;