aboutsummaryrefslogtreecommitdiff
path: root/ksh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-02-17 09:45:06 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-02-17 09:45:06 +1300
commit38268779586458e8160445e1ee6a3557a393b76e (patch)
treef5911f031bcc800043e0ec0a1c2da00877bafe0d /ksh
parentUpdate submodules (diff)
downloaddotfiles-38268779586458e8160445e1ee6a3557a393b76e.tar.gz
dotfiles-38268779586458e8160445e1ee6a3557a393b76e.zip
shellcheck suggested a more efficient assignment
Diffstat (limited to 'ksh')
-rw-r--r--ksh/kshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ksh/kshrc b/ksh/kshrc
index 5d481bb4..ec90a35f 100644
--- a/ksh/kshrc
+++ b/ksh/kshrc
@@ -18,7 +18,7 @@ set -o trackall
# Save history
HISTFILE=$HOME/.ksh_history
-HISTSIZE=$((1 << 10))
+((HISTSIZE=1 << 10))
# Load any supplementary scripts
for kshrc in "$HOME"/.kshrc.d/*.ksh ; do