#!/usr/bin/env bash function _add-path { dir="$1" if [[ $PATH =~ "$dir" ]]; then return fi if [[ -d $dir ]]; then PATH=$dir:$PATH fi } _add-path ~/.cargo/bin _add-path ~/go/bin _add-path /var/lib/gems/1.8/bin _add-path /Library/Frameworks/Python.framework/Versions/2.7/bin _add-path ~/Library/Python/2.7/bin _add-path ~/.rvm/bin _add-path ~/opt/bin _add-path /usr/local/mysql/bin _add-path /opt/vertica/bin _add-path /opt/local/bin _add-path /opt/local/sbin _add-path ~/bin _add-path /usr/local/go/bin _add-path ~/.bin _add-path ~/opt/depot_tools _add-path ~/.yarn/bin