diff rc/bashrc @ 543:8b884bbb1d05

Rename `app` to `apps`.
author edogawaconan <me@myconan.net>
date Sat, 17 Jan 2015 20:10:45 +0900
parents 77c1f9e624a3
children daed3e2c9651
line wrap: on
line diff
--- 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