ZSH: Beginning of reconfiguring everything

This commit is contained in:
2024-10-28 12:31:50 +01:00
parent e130455648
commit 154209ffd7
31 changed files with 145 additions and 413 deletions

View File

@@ -0,0 +1,24 @@
## Command history configuration
HISTFILE="${ZCACHE}/history"
HISTSIZE=1000000000
SAVEHIST=1000000000
export HISTTIMEFORMAT="[%F %T] "
setopt INC_APPEND_HISTORY
setopt EXTENDED_HISTORY
setopt HIST_FIND_NO_DUPS
setopt hist_ignore_dups
setopt hist_verify
setopt incappendhistory
setopt histignorespace
setopt histnostore
setopt share_history
export HISTORY_IGNORE="([bf]g *|disown|cd ..|cd -)"
HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE=1
# # Make up and down arrow take whats typed on the commandline in to account.
# autoload -Uz up-line-or-beginning-search down-line-or-beginning-search
# zle -N up-line-or-beginning-search
# zle -N down-line-or-beginning-search