# HG changeset patch # User edogawaconan # Date 1421493045 -32400 # Node ID 8b884bbb1d05588d71bafe252a0bc038aa9a4fc8 # Parent fc429d39ce9e17ef4a786c2f24b6283eccc76a94 Rename `app` to `apps`. diff -r fc429d39ce9e -r 8b884bbb1d05 rc/bashrc --- a/rc/bashrc Tue Jan 06 03:28:39 2015 +0900 +++ b/rc/bashrc Sat Jan 17 20:10:45 2015 +0900 @@ -190,18 +190,18 @@ unset _grep # Custom application I usually install and safe to prioritize -for i in {"${HOME}/app","/opt"{,"/${USER:-$LOGNAME}"}}/{tmux,ruby19,python26,node,tarsnap,symon,nginx,p7zip}/{bin,sbin}; do +for i in {"${HOME}/apps","/opt"{,"/${USER:-$LOGNAME}"}}/{tmux,ruby19,python26,node,tarsnap,symon,nginx,p7zip}/{bin,sbin}; do [ -d "${i}" ] && PATH="${i}:${PATH}" done # New(?) rubygems bin PATH -for i in {"${HOME}/app","/opt"{,"/${USER:-$LOGNAME}"}}/ruby19/lib/ruby/gems/1.9.1/bin; do +for i in {"${HOME}/apps","/opt"{,"/${USER:-$LOGNAME}"}}/ruby19/lib/ruby/gems/1.9.1/bin; do [ -d "${i}" ] && PATH="${i}:${PATH}" done # MySQL in common locations highest priority since new = better. Also no compatibility problem. # Cluster is superset of Enterprise/GPL so it gets highest priority. # And use only one. -for mydir in {"${HOME}",/app{,s},/opt}/mysql/{{cluster,enterprise}/mysql/,}bin; do +for mydir in {"${HOME}",/apps,/opt}/mysql/{{cluster,enterprise}/mysql/,}bin; do if [ -d "${mydir}" ]; then PATH="${mydir}:${PATH}" break @@ -210,7 +210,7 @@ # Mercurial is optional since it will be inconsistent with ssh ... hg if this one gets priority. # And use only one. -for hgdir in {"${HOME}/app","/opt"}/mercurial{,/bin}; do +for hgdir in {"${HOME}/apps","/opt"}/mercurial{,/bin}; do hgbin="${hgdir}/hg" if [ -x "${hgbin}" ]; then PATH="${PATH}:${hgdir}" @@ -219,7 +219,7 @@ fi done -for supbindir in {"${HOME}/app","/opt"}/supervisor{,d}/bin; do +for supbindir in {"${HOME}/apps","/opt"}/supervisor{,d}/bin; do if [ -d "${supbindir}" ]; then PATH="${PATH}:${supbindir}" break