__APPS_GO_PATH=/usr/local/apps/golang/current/bin if [ -d "${__APPS_GO_PATH}" ] && ! echo "${PATH}" | grep -q ${__APPS_GO_PATH} ; then PATH="$__APPS_GO_PATH:${PATH}" fi unset __APPS_GO_PATH if [ -d "${HOME}/go/bin" ] && ! echo "$PATH" | grep -q "${HOME}/go/bin" ; then PATH="${PATH}:${HOME}/go/bin" fi