Move env and completions to correct places.
This commit is contained in:
parent
2524cd5494
commit
2cb3b103a9
3 changed files with 26 additions and 31 deletions
19
.zprofile
Normal file
19
.zprofile
Normal file
|
@ -0,0 +1,19 @@
|
|||
ASDF_TMP=$(mktemp)
|
||||
if asdf current golang >"$ASDF_TMP" 2>/dev/null; then
|
||||
ASDF_GO="$HOME/.asdf/installs/golang/$(awk -F' ' '{print $2}' <"$ASDF_TMP")"
|
||||
fi
|
||||
if [ -d "$ASDF_GO" ]; then
|
||||
ASDF_GOBIN="$ASDF_GO/packages/bin/"
|
||||
PATH="$ASDF_GOBIN:$PATH"
|
||||
fi
|
||||
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
if [ -s "$NVM_DIR/nvm.sh" ]; then
|
||||
\. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
fi
|
||||
|
||||
[ -f "/home/kaholaz/.ghcup/env" ] && source "/home/kaholaz/.ghcup/env" # ghcup-env
|
||||
|
||||
if [ -d "$HOME/.asdf" ]; then
|
||||
\. "$HOME/.asdf/asdf.sh"
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue