Relocated Cargo bin path into base zshenv

This commit is contained in:
James Patrick 2020-07-21 20:55:45 -04:00
parent ea79200290
commit 468c6f9f19
3 changed files with 1 additions and 4 deletions

View File

@ -1,9 +1,7 @@
export GOPATH="${HOME}/.go" export GOPATH="${HOME}/.go"
export PSQLAPP="/Applications/Postgres.app/Contents/Versions/latest/bin" export PSQLAPP="/Applications/Postgres.app/Contents/Versions/latest/bin"
cargo="${HOME}/.cargo/bin:$PATH"
path=( path=(
$cargo
$GOPATH $GOPATH
$PSQLAPP $PSQLAPP
$path) $path)

View File

@ -1,10 +1,8 @@
GOLANG_PATH="/usr/lib/go/bin" GOLANG_PATH="/usr/lib/go/bin"
export GOPATH="$HOME/src/go" export GOPATH="$HOME/src/go"
CARGO_BIN="$HOME/.cargo/bin"
path=( path=(
$CARGO_BIN
$GOPATH $GOPATH
$GOLANG_PATH $GOLANG_PATH
$path) $path)

View File

@ -67,6 +67,7 @@ ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=7"
typeset -gU path typeset -gU path
path=( path=(
$HOME/.cargo/bin/
$HOME/.scripts/ $HOME/.scripts/
$HOME/.emacs.d/bin/ $HOME/.emacs.d/bin/
$HOME/.yarn/bin/ $HOME/.yarn/bin/