Mercurial > ec-dotfiles
comparison rc/bashrc @ 511:ce21ebae61b4
Add /opt/local beforehand in sunos.
author | edogawaconan <me@myconan.net> |
---|---|
date | Sun, 16 Mar 2014 07:50:57 +0000 |
parents | cd97af121309 |
children | 13deb0e1a2cc |
comparison
equal
deleted
inserted
replaced
510:cd97af121309 | 511:ce21ebae61b4 |
---|---|
115 done | 115 done |
116 for i in /usr/{sfw,xpg4}/bin; do | 116 for i in /usr/{sfw,xpg4}/bin; do |
117 [ -d "${i}" ] && PATH="${PATH}:${i}" | 117 [ -d "${i}" ] && PATH="${PATH}:${i}" |
118 done | 118 done |
119 [ -d "/opt/csw/gnu" ] && PATH="/opt/csw/gnu:${PATH}" | 119 [ -d "/opt/csw/gnu" ] && PATH="/opt/csw/gnu:${PATH}" |
120 [ -d "/opt/local/sbin" ] && PATH="/opt/local/sbin:${PATH}" | |
121 [ -d "/opt/local/bin" ] && PATH="/opt/local/bin:${PATH}" | |
120 alias ping="ping -s" | 122 alias ping="ping -s" |
121 alias ping6="ping -A inet6" | 123 alias ping6="ping -A inet6" |
122 if command -v ggrep > /dev/null 2>&1; then | 124 if command -v ggrep > /dev/null 2>&1; then |
123 _has_gnu_grep=y | 125 _has_gnu_grep=y |
124 _grep="ggrep" | 126 _grep="ggrep" |