From 05421465b4d1e7db4dff627bea9a488800dc8457 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 26 Jun 2015 14:25:04 +1200 Subject: Use bit shifting not exponentiation --- bash/bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bash/bashrc') 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 -- cgit v1.2.3