Mercurial > ec-dotfiles
comparison rc/bashrc @ 573:ee234e4c144d
Add composer to default tools.
| author | nanaya <me@myconan.net> | 
|---|---|
| date | Wed, 12 Aug 2015 16:20:32 +0900 | 
| parents | 18cad636d1a2 | 
| children | dd1f898432e3 | 
   comparison
  equal
  deleted
  inserted
  replaced
| 572:a163d6875651 | 573:ee234e4c144d | 
|---|---|
| 188 unset _has_posix_grep | 188 unset _has_posix_grep | 
| 189 unset _ls | 189 unset _ls | 
| 190 unset _grep | 190 unset _grep | 
| 191 | 191 | 
| 192 # Custom application I usually install and safe to prioritize | 192 # Custom application I usually install and safe to prioritize | 
| 193 for i in {"${HOME}/apps","/opt"{,"/${USER:-$LOGNAME}"}}/{tmux,ruby19,python26,node,tarsnap,symon,nginx,p7zip}/{bin,sbin}; do | 193 for i in {"${HOME}/apps","/opt"{,"/${USER:-$LOGNAME}"}}/{tmux,ruby19,python26,node,tarsnap,symon,nginx,p7zip,composer}/{bin,sbin}; do | 
| 194 [ -d "${i}" ] && PATH="${i}:${PATH}" | 194 [ -d "${i}" ] && PATH="${i}:${PATH}" | 
| 195 done | 195 done | 
| 196 # New(?) rubygems bin PATH | 196 # New(?) rubygems bin PATH | 
| 197 for i in {"${HOME}/apps","/opt"{,"/${USER:-$LOGNAME}"}}/ruby19/lib/ruby/gems/1.9.1/bin; do | 197 for i in {"${HOME}/apps","/opt"{,"/${USER:-$LOGNAME}"}}/ruby19/lib/ruby/gems/1.9.1/bin; do | 
| 198 [ -d "${i}" ] && PATH="${i}:${PATH}" | 198 [ -d "${i}" ] && PATH="${i}:${PATH}" | 
