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

Fix ruby and attempt to fix readline.

This commit is contained in:
Bert Peters
2016-11-29 12:03:00 +01:00
parent c3b6f18b88
commit c48f1b56d5

View File

@@ -52,7 +52,7 @@ if hash gem &> /dev/null; then
export GEMRC="$XDG_CONFIG_HOME/gem/gemrc" export GEMRC="$XDG_CONFIG_HOME/gem/gemrc"
#TODO: move this to XDG_DATA_HOME #TODO: move this to XDG_DATA_HOME
export GEM_HOME=$(ruby -e 'puts Gem.user_dir') export GEM_HOME=$(ruby -e 'puts Gem.user_dir' 2>/dev/null)
export GEM_PATH=$GEM_HOME export GEM_PATH=$GEM_HOME
path+="$GEM_HOME/bin" path+="$GEM_HOME/bin"
@@ -92,3 +92,6 @@ export VAGRANT_HOME="$XDG_DATA_HOME/vagrant"
# Set up sqlite3 # Set up sqlite3
test -f "$XDG_CONFIG_HOME/sqlite3/sqliterc" && alias sqlite3="sqlite3 -init \"$XDG_CONFIG_HOME/sqlite3/sqliterc\"" test -f "$XDG_CONFIG_HOME/sqlite3/sqliterc" && alias sqlite3="sqlite3 -init \"$XDG_CONFIG_HOME/sqlite3/sqliterc\""
# Move all .*_history files
export RLWRAP_HOME="$XDG_DATA_HOME"/rlwrap