dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit c5f06b31eea4ff1c51184e172da8c8f1152bffb2
parent 564ce15a8bd68c2c053a36ea02858248482aace1
Author: Chris Bracken <chris@bracken.jp>
Date:   Fri, 18 Dec 2015 22:51:25 -0800

Only add /opt/local/[s]bin to PATH on OS X

Diffstat:
M.paths | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/.paths b/.paths @@ -24,8 +24,10 @@ path_append() { path_prepend "/usr/local/bin" # MacPorts -path_prepend "/opt/local/sbin" -path_prepend "/opt/local/bin" +if [[ "$(uname)" == "Darwin" ]]; then + path_prepend "/opt/local/sbin" + path_prepend "/opt/local/bin" +fi # User's personal bin dir if it exists path_prepend "$HOME/bin"