aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-09-01 16:49:47 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-09-01 16:49:47 +1200
commit3f6d750e123c3a3c964b1aafc2a92a6a8a32f7fc (patch)
tree406379059f46fde6578d68629b7cb713a9a99eca /bash/bashrc
parentAdd an idea (diff)
downloaddotfiles-3f6d750e123c3a3c964b1aafc2a92a6a8a32f7fc.tar.gz
dotfiles-3f6d750e123c3a3c964b1aafc2a92a6a8a32f7fc.zip
Move HISTSIZE and MAILCHECK to shrc
Turns out they're POSIX variables!
Diffstat (limited to 'bash/bashrc')
-rw-r--r--bash/bashrc6
1 files changed, 0 insertions, 6 deletions
diff --git a/bash/bashrc b/bash/bashrc
index a62f2251..a48a9081 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -19,18 +19,12 @@ shopt -q restricted_shell && return
# Keep around 32K lines of history in file
HISTFILESIZE=$((1 << 15))
-# Keep around 4K lines of history in memory
-HISTSIZE=$((1 << 12))
-
# Ignore duplicate commands and whitespace in history
HISTCONTROL=ignoreboth
# Keep the times of the commands in history
HISTTIMEFORMAT='%F %T '
-# Don't warn me about new mail
-unset -v MAILCHECK
-
# Use a more compact format for the time builtin's output
TIMEFORMAT='real:%lR user:%lU sys:%lS'