changeset 19:170de0d0d6dd

Stop less creating a history file
author IBBoard <dev@ibboard.co.uk>
date Mon, 08 Sep 2014 20:09:55 +0100
parents 1ec9a1720c5c
children ea572e660598
files bashrc
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/bashrc	Sat Aug 16 19:36:25 2014 +0100
+++ b/bashrc	Mon Sep 08 20:09:55 2014 +0100
@@ -12,6 +12,9 @@
 export PATH=/sbin:/usr/sbin:/usr/local/sbin:$PATH
 export MAN_POSIXLY_CORRECT=1
 
+#Disable less history, because do I really search the same things enough to use it across sessions?
+export LESSHISTFILE=-
+
 if [ "$PS1" != "" -a "${STARTED_TMUX:-x}" = x -a "${SSH_TTY:-x}" != x ]
 then
         STARTED_TMUX=1; export STARTED_TMUX