1
0

Add Rust path to $PATH

This commit is contained in:
Noah 2017-03-13 10:25:31 -07:00
parent 1c12b5262c
commit f832a19321

View File

@ -28,7 +28,7 @@ fi
# Normalize the PATH # Normalize the PATH
CORE_PATH="/usr/sbin:/sbin:/usr/bin:/bin" CORE_PATH="/usr/sbin:/sbin:/usr/bin:/bin"
USR_PATH="/usr/local/sbin:/usr/local/bin:${HOME}/bin:${HOME}/go/bin:${HOME}/go/.ext/bin:${HOME}/android/sdk/platform-tools" USR_PATH="/usr/local/sbin:/usr/local/bin:${HOME}/bin:${HOME}/go/bin:${HOME}/go/.ext/bin:${HOME}/.cargo/bin:${HOME}/android/sdk/platform-tools"
if [[ `uname` == "Linux" ]] then export PATH="${CORE_PATH}:${USR_PATH}" if [[ `uname` == "Linux" ]] then export PATH="${CORE_PATH}:${USR_PATH}"
else export PATH="${USR_PATH}:${CORE_PATH}" else export PATH="${USR_PATH}:${CORE_PATH}"
fi fi