zsh: export GEM_PATH and WAKATIME_HOME

This commit is contained in:
2023-03-03 16:10:18 +02:00
parent b183fcbdb2
commit f357d23559

4
zshrc
View File

@@ -60,6 +60,7 @@ fi
# gem, rubygems
if command -v gem &>/dev/null; then
export GEM_HOME="$XDG_STATE_HOME/gem"
export GEM_PATH="$XDG_STATE_HOME/gem"
fi
# nvm, the node version manager
@@ -70,6 +71,9 @@ export NVM_AUTO_USE=true
[ -s "$HOMEBREW_PKG/nvm/nvm.sh" ] && \. "$HOMEBREW_PKG/nvm/nvm.sh"
[ -s "$HOMEBREW_PKG/nvm/etc/bash_completion.d/nvm" ] && \. "$HOMEBREW_PKG/nvm/etc/bash_completion.d/nvm"
# wakatime, https://github.com/wakatime/wakatime-cli
export WAKATIME_HOME="$XDG_STATE_HOME/wakatime"
# Run x-load-configs in your terminal to reload the files.
function x-load-configs()
{