From 3dc5f80854c4a9a411220625158307b01ff2930a Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Fri, 4 Feb 2011 16:42:20 +0100 Subject: [PATCH] shell/env: Add rlwrap history directory setting. Also update setup.sh to create it. --- setup.sh | 3 +++ shell/env | 4 ++++ 2 files changed, 7 insertions(+) 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' -- 2.45.2