mirror of
https://github.com/hcartiaux/dotfiles.git
synced 2024-10-18 09:15:24 +02:00
[bash] bash_environment, load direnv configuration if it exists
This commit is contained in:
parent
c1d0f76e9a
commit
1b461e077a
1 changed files with 6 additions and 1 deletions
|
@ -164,7 +164,6 @@ alias cdgp='cd $GPUPPET_PREFIX/repo && source setup_env.sh && echo "==> Grid5000
|
|||
# Ruby & RVM
|
||||
# -------------------------------------------------------------------
|
||||
|
||||
|
||||
[ -d "/usr/lib/ruby/gems" ] && export PATH="$PATH:$(echo /usr/lib/ruby/gems/*)/bin"
|
||||
[ -d "$HOME/.rvm/bin" ] && export PATH="$PATH:$HOME/.rvm/bin"
|
||||
|
||||
|
@ -175,3 +174,9 @@ if [[ $(which ruby 2>/dev/null | grep -c "$HOME/.rvm") != 0 ]]; then
|
|||
rvm reset
|
||||
fi
|
||||
|
||||
# -------------------------------------------------------------------
|
||||
# direnv
|
||||
# -------------------------------------------------------------------
|
||||
|
||||
[[ -e "$HOME/.config/direnv/init.sh" ]] && . $HOME/.config/direnv/init.sh || true
|
||||
|
||||
|
|
Loading…
Reference in a new issue