diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc index 565c36b..bfad160 100644 --- a/.config/shell/aliasrc +++ b/.config/shell/aliasrc @@ -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'" diff --git a/.config/shell/profile b/.config/shell/profile index e37c553..5084b6d 100644 --- a/.config/shell/profile +++ b/.config/shell/profile @@ -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)"