1
0
Fork 0

try to fix zsh history file

This commit is contained in:
Maurice Audin 2022-07-18 16:39:24 +02:00
parent 4110c8534a
commit 54045e45fd

View file

@ -9,8 +9,12 @@ function precmd() {
# [ -n "${DISPLAY}" ] && /home/hybris/.scripts/term-fontsize # [ -n "${DISPLAY}" ] && /home/hybris/.scripts/term-fontsize
} }
# do not share history between terms... # history file
unsetopt share_history unsetopt share_history
setopt INC_APPEND_HISTORY
setopt HIST_EXPIRE_DUPS_FIRST
HISTSIZE=500000
SAVEHIST=500000
# Everyday aliases # Everyday aliases
catwhich() {echo "\e[35mPath: $(which $1)\n\e[39m"; cat $(which $1)} catwhich() {echo "\e[35mPath: $(which $1)\n\e[39m"; cat $(which $1)}