aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-06-26 14:25:04 +1200
committerTom Ryder <tom@sanctum.geek.nz>2015-06-26 14:25:04 +1200
commit05421465b4d1e7db4dff627bea9a488800dc8457 (patch)
tree01ac35e91131e2f516af7a942102ecddf2d95d82 /bash/bashrc
parentCheck we have ed(1) (diff)
downloaddotfiles-05421465b4d1e7db4dff627bea9a488800dc8457.tar.gz
dotfiles-05421465b4d1e7db4dff627bea9a488800dc8457.zip
Use bit shifting not exponentiation
Diffstat (limited to 'bash/bashrc')
-rw-r--r--bash/bashrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/bash/bashrc b/bash/bashrc
index 9fe69341..6cc36668 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -17,10 +17,10 @@ if shopt -q restricted_shell ; then
fi
# Keep around sixteen million lines of history in file
-HISTFILESIZE=$((2 ** 24))
+HISTFILESIZE=$((1 << 24))
# Keep around four thousand lines of history in memory
-HISTSIZE=$((2 ** 12))
+HISTSIZE=$((1 << 12))
# Ignore duplicate commands and whitespace in history
HISTCONTROL=ignoreboth