Mercurial > ec-dotfiles
comparison rc/bashrc @ 344:759f9a63a497
Additional structure.
| author | Edho Arief <edho@myconan.net> |
|---|---|
| date | Tue, 03 Apr 2012 11:02:19 +0000 |
| parents | 4a37643931c4 |
| children | ea7214e4272b |
comparison
equal
deleted
inserted
replaced
| 343:32897d383f97 | 344:759f9a63a497 |
|---|---|
| 132 unset _has_posix_grep | 132 unset _has_posix_grep |
| 133 unset _ls | 133 unset _ls |
| 134 unset _grep | 134 unset _grep |
| 135 | 135 |
| 136 # Custom application I usually install and safe to prioritize | 136 # Custom application I usually install and safe to prioritize |
| 137 for i in {"${HOME}/app","/opt"}/{tmux,ruby19,node,tarsnap,symon,nginx}/{bin,sbin}; do | 137 for i in {"${HOME}/app","/opt"{,"/${USER:-$LOGNAME}"}}/{tmux,ruby19,node,tarsnap,symon,nginx}/{bin,sbin}; do |
| 138 [ -d "${i}" ] && PATH="${i}:${PATH}" | 138 [ -d "${i}" ] && PATH="${i}:${PATH}" |
| 139 done | 139 done |
| 140 # New(?) rubygems bin PATH | 140 # New(?) rubygems bin PATH |
| 141 for i in {"${HOME}/app","/opt"}/ruby19/lib/ruby/gems/1.9.1/bin; do | 141 for i in {"${HOME}/app","/opt"{,"/${USER:-$LOGNAME}"}}/ruby19/lib/ruby/gems/1.9.1/bin; do |
| 142 [ -d "${i}" ] && PATH="${i}:${PATH}" | 142 [ -d "${i}" ] && PATH="${i}:${PATH}" |
| 143 done | 143 done |
| 144 | 144 |
| 145 # MySQL in common locations highest priority since new = better. Also no compatibility problem. | 145 # MySQL in common locations highest priority since new = better. Also no compatibility problem. |
| 146 # Cluster is superset of Enterprise/GPL so it gets highest priority. | 146 # Cluster is superset of Enterprise/GPL so it gets highest priority. |
