Skip to content

Commit

Permalink
feat(shrc): add automatic rbenv loading
Browse files Browse the repository at this point in the history
  • Loading branch information
entelecheia committed Sep 16, 2023
1 parent 0127bc9 commit 9262e9a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions chezmoi/dot_config/shrc/20-export.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ if [ -d "${HOME}/.pyenv" ] && command -v pyenv >/dev/null 2>&1; then
export PYENV_VIRTUALENV_DISABLE_PROMPT=1
fi

# Load rbenv automatically
if command -v rbenv >/dev/null 2>&1; then
eval "$(rbenv init -)"
fi

# RubyGems Environment
if command -v gem >/dev/null 2>&1; then
export GEM_HOME="${HOME}/.gem"
Expand Down

0 comments on commit 9262e9a

Please sign in to comment.