aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-01-25 01:43:05 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-01-25 01:43:05 +0100
commit5acde315bdd733c8fe8b9c4a75dad0eafeaf9aca (patch)
tree8cb0bd034b3b0501cefd389c49dd23c1546bc535
parentos.sh: remove unused routines (diff)
downloadlinux-home-5acde315bdd733c8fe8b9c4a75dad0eafeaf9aca.tar.gz
linux-home-5acde315bdd733c8fe8b9c4a75dad0eafeaf9aca.zip
bash: save more history
Diffstat (limited to '')
-rw-r--r--%HOME%/.bashrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/%HOME%/.bashrc b/%HOME%/.bashrc
index e3d514d..628cec3 100644
--- a/%HOME%/.bashrc
+++ b/%HOME%/.bashrc
@@ -16,8 +16,9 @@ PS1="\[\e[1;35m\]\h\[\e[m\] \[\e[1;36m\]\W\[\e[m\] # \[$(tput sgr0)\]"
# `echo "!)"` doesn't work otherwise (namely, in third-party scripts):
set +o histexpand
-# Don't store duplicate commands.
export HISTCONTROL=ignoredups
+export HISTFILESIZE=20000
+export HISTSIZE=20000
# Too many third-party scripts stop working w/ nounset enabled :-(
#set -o nounset