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