]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - shell/env
shell/env: Add rlwrap history directory setting.
[config/dotfiles.git] / shell / env
index d478b17d8b9c5c69844980e38a3549fda3bb2701..0739edf061ca91822e9cd206ce409c35eb00bf5f 100644 (file)
--- 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'