diff 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
line wrap: on
line diff
--- 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\]]\$ '