diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2015-06-26 14:25:04 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2015-06-26 14:25:04 +1200 |
commit | 05421465b4d1e7db4dff627bea9a488800dc8457 (patch) | |
tree | 01ac35e91131e2f516af7a942102ecddf2d95d82 /bash/bashrc | |
parent | Check we have ed(1) (diff) | |
download | dotfiles-05421465b4d1e7db4dff627bea9a488800dc8457.tar.gz dotfiles-05421465b4d1e7db4dff627bea9a488800dc8457.zip |
Use bit shifting not exponentiation
Diffstat (limited to 'bash/bashrc')
-rw-r--r-- | bash/bashrc | 4 |
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 |