1
0
mirror of https://github.com/bertptrs/vimconfig.git synced 2025-12-25 12:30:32 +01:00

Improve Ruby set-up.

This commit is contained in:
2019-01-25 15:41:21 +01:00
parent fed54cf38a
commit f43da0f256
4 changed files with 10 additions and 12 deletions

View File

@@ -43,12 +43,7 @@ test -f "$XDG_CONFIG_HOME/tmux/tmux.conf" && alias tmux="tmux -f $XDG_CONFIG_HOM
# Set up Rubygems
if type gem &> /dev/null; then
export GEMRC="$XDG_CONFIG_HOME/gem/gemrc"
#TODO: move this to XDG_DATA_HOME
export GEM_HOME=$(ruby -e 'puts Gem.user_dir' 2>/dev/null)
path+="$GEM_HOME/bin"
path+="$HOME/.gem/bin"
fi
# Set up Weechat alternative directory