Fix shell configuration for exec-path-from-shell
This commit is contained in:
19
.zshenv
Normal file
19
.zshenv
Normal file
@@ -0,0 +1,19 @@
|
||||
function appendpath() {
|
||||
case ":$PATH:" in
|
||||
*:"$1":*)
|
||||
;;
|
||||
*)
|
||||
PATH="${PATH:+$PATH:}$1"
|
||||
esac
|
||||
}
|
||||
|
||||
appendpath $GOPATH/bin
|
||||
appendpath $HOME/.local/bin
|
||||
appendpath $HOME/.cargo/bin
|
||||
unset appendpath
|
||||
|
||||
source /usr/local/opt/git-extras/share/git-extras/git-extras-completion.zsh
|
||||
|
||||
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
|
||||
export SDKMAN_DIR="/Users/plague/.sdkman"
|
||||
[[ -s "/Users/plague/.sdkman/bin/sdkman-init.sh" ]] && source "/Users/plague/.sdkman/bin/sdkman-init.sh"
|
||||
Reference in New Issue
Block a user