Add Homebrew and NVM.

This commit is contained in:
dabruh 2022-09-07 16:38:31 +02:00
parent 53179f1ee6
commit 83fd7b6fee
2 changed files with 4 additions and 0 deletions

View File

@ -37,3 +37,4 @@ alias \
w='curl https://wttr.in/'
which codium >/dev/null && alias code=codium
[ -s "$NVM_DIR/nvm.sh" ] && alias load-nvm="source '$NVM_DIR/nvm.sh'"

View File

@ -18,6 +18,7 @@ export GOPATH="${XDG_DATA_HOME:-$HOME/.local/share}/go"
export HISTFILE="${XDG_DATA_HOME:-$HOME/.local/share}/history"
export XINITRC="${XDG_CONFIG_HOME:-$HOME/.config}/x11/xinitrc"
export ZDOTDIR="${XDG_CONFIG_HOME:-$HOME/.config}/zsh"
export NVM_DIR="${XDG_CONFIG_HOME:-$HOME/.config}/nvm"
export NUGET_PACKAGES="${XDG_DATA_HOME:-$HOME/.local/share}/nuget"
# Color man pages:
@ -48,3 +49,5 @@ done
# Add the profile-extras file yourself if you wish to override anything:
PROFILE_EXTRAS="${XDG_CONFIG_HOME:-$HOME/.config}/shell/profile-extras"
[ -f "$PROFILE_EXTRAS" ] && . "$PROFILE_EXTRAS"
[ -f "$HOME/homebrew/bin/brew" ] && eval "$("$HOME/homebrew/bin/brew" shellenv)"