Add Rust path to $PATH
This commit is contained in:
parent
1c12b5262c
commit
f832a19321
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user