fix (zshrc): the default sizes do not match my level of comfort for shell history

This commit is contained in:
eeemsi 2023-07-20 20:10:58 +02:00
parent 6ac8ce7a60
commit dcc3582255
1 changed files with 5 additions and 0 deletions

5
zshrc
View File

@ -11,6 +11,7 @@ export LESSHISTFILE=/dev/null
# Disable features like shell or pipe commands and more in less
export LESSSECURE=1
# completion system
autoload -U compinit; compinit
@ -32,6 +33,10 @@ zstyle ':vcs_info:*' formats '%b'
# Disable beeping on errors
unsetopt BEEP
# Define size for HISTSIZE and SAVEHIST also define path for HISTFILE
HISTSIZE=8192
SAVEHIST=8192
# Make cd push the old directory onto the directory stack
setopt AUTO_PUSHD