# HG changeset patch # User Edho Arief # Date 1321257767 -10800 # Node ID 4fe8668e3ef082fde8c7efbb207866a32859fe87 # Parent 4a8d81743728de433e682f9a0e781faa7c05d0b3 Awesome custom paths by default. diff -r 4a8d81743728 -r 4fe8668e3ef0 rc/bash --- a/rc/bash Tue Nov 08 22:31:10 2011 +0700 +++ b/rc/bash Mon Nov 14 11:02:47 2011 +0300 @@ -16,6 +16,11 @@ _org_path="${PATH}" export PATH="${HOME}/.ecos_bin:${HOME}/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" +# Custom application I usually install and safe to prioritize +for i in {"${HOME}/app","/opt"}/{tmux,ruby19,node,tarsnap,symon,nginx}/{bin,sbin}; do + [ -d "${i}" ] && PATH="${i}:${PATH}" +done + case "${TERM}" in xterm*|dtterm*|screen*) PS1='[\[\e[0;33m\]\u\[\e[0m\]@\[\e[0;32m\]\h\[\e[0m\] \[\e[1;34m\]\W\[\e[0m\]]\$ '