From: Simon Ruderich Date: Fri, 4 Feb 2011 15:42:20 +0000 (+0100) Subject: shell/env: Add rlwrap history directory setting. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=3dc5f80854c4a9a411220625158307b01ff2930a;p=config%2Fdotfiles.git shell/env: Add rlwrap history directory setting. Also update setup.sh to create it. --- diff --git a/setup.sh b/setup.sh index ec6f9d7..4318125 100755 --- a/setup.sh +++ b/setup.sh @@ -58,3 +58,6 @@ if installed colordiff; then fi link inputrc ~/.inputrc link screenrc ~/.screenrc + +# Create rlwrap history directory. +mkdir -p shell/rlwrap diff --git a/shell/env b/shell/env index d478b17..0739edf 100644 --- a/shell/env +++ b/shell/env @@ -37,6 +37,10 @@ if [ -O ~/tmp -a -d ~/tmp ]; then export TMP TEMP TMPDIR fi +# Change rlwrap's home directory to prevent cluttering ~. +RLWRAP_HOME=~/.shell/rlwrap +export RLWRAP_HOME + # Set colors for GNU ls (and zsh completions). # See `dircolors --print-database` for possible colors. LS_COLORS='no=00'