mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-12 21:52:33 +00:00
zsh: export GEM_PATH and WAKATIME_HOME
This commit is contained in:
4
zshrc
4
zshrc
@@ -60,6 +60,7 @@ fi
|
|||||||
# gem, rubygems
|
# gem, rubygems
|
||||||
if command -v gem &>/dev/null; then
|
if command -v gem &>/dev/null; then
|
||||||
export GEM_HOME="$XDG_STATE_HOME/gem"
|
export GEM_HOME="$XDG_STATE_HOME/gem"
|
||||||
|
export GEM_PATH="$XDG_STATE_HOME/gem"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# nvm, the node version manager
|
# 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/nvm.sh" ] && \. "$HOMEBREW_PKG/nvm/nvm.sh"
|
||||||
[ -s "$HOMEBREW_PKG/nvm/etc/bash_completion.d/nvm" ] && \. "$HOMEBREW_PKG/nvm/etc/bash_completion.d/nvm"
|
[ -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.
|
# Run x-load-configs in your terminal to reload the files.
|
||||||
function x-load-configs()
|
function x-load-configs()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user