diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2022-05-27 15:59:55 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2022-05-27 16:02:54 +1200 |
commit | e725e0b54b7c9d47e3a48f46fa55a461caf11d4d (patch) | |
tree | 7e861de0802c51ea4a1d003654d4ce449341417e | |
parent | Simplify xrandr/xwallpaper setup (diff) | |
download | dotfiles-e725e0b54b7c9d47e3a48f46fa55a461caf11d4d.tar.gz dotfiles-e725e0b54b7c9d47e3a48f46fa55a461caf11d4d.zip |
Bump up shell history limits
Stuff I want keeps disappearing off the buffer on more active computers.
-rw-r--r-- | bash/bashrc | 4 | ||||
-rw-r--r-- | sh/shrc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/bash/bashrc b/bash/bashrc index a60a047e..5d3a7bbc 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -28,8 +28,8 @@ fi # Clear away command_not_found_handle if a system bashrc file set it up unset -f command_not_found_handle -# Keep around 32K lines of history in file -HISTFILESIZE=32768 +# Keep around 128K lines of history in file +HISTFILESIZE=131072 # Ignore duplicate commands HISTCONTROL=ignoredups @@ -4,8 +4,8 @@ command -p mesg n 2>/dev/null # Turn off flow control and control character echo command -p stty -ixon -ctlecho 2>/dev/null -# Keep around 4K lines of history in memory -HISTSIZE=4096 +# Keep around 16K lines of history in memory +HISTSIZE=16384 # If HOSTNAME isn't set by this shell, we'll do it if [ -z "$HOSTNAME" ] ; then |