summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index 3318cd5..03de0f0 100644
--- a/.bashrc
+++ b/.bashrc
@@ -4,6 +4,7 @@
# including some apparently interactive shells such as scp and rcp
# that can't tolerate any output. So make sure this doesn't display
# anything or bad things will happen !
+if [[ $HISTFILE = /dev/null ]]; then unset HISTFILE; fi
# Test for an interactive shell. There is no need to set anything