X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/2cdc712cffab31eb86bcdaadf2c40bb836eed64e..9dd90d24e0758be86b5d695e242fce9a5baf8bcb:/zshrc?ds=inline diff --git a/zshrc b/zshrc index a2b40fd..3174fd6 100644 --- a/zshrc +++ b/zshrc @@ -38,10 +38,18 @@ setopt rematch_pcre # use perl regexp setopt noflowcontrol stty -ixon -# populate path +# populate path (order matters) typeset -U path # make path a unique array +# osx gnu utils (installed via brew) +[[ -d /usr/local/opt/coreutils/libexec/gnubin ]] && path=(/usr/local/opt/coreutils/libexec/gnubin $path) +[[ -d /usr/local/opt/findutils/libexec/gnubin ]] && path=(/usr/local/opt/findutils/libexec/gnubin $path) +[[ -d /usr/local/opt/gnu-sed/libexec/gnubin ]] && path=(/usr/local/opt/gnu-sed/libexec/gnubin $path) +# osx pip 3.7 install +[[ -d ~/Library/Python/3.7/bin ]] && path=(~/Library/Python/3.7/bin $path) +# personal scripts [[ -d ~/.local/bin ]] && path=(~/.local/bin $path) [[ -d ~/bin ]] && path=(~/bin $path) +# android [[ -d /opt/android-sdk ]] && path=($path /opt/android-sdk/platform-tools) # source aliases