FZF & Hist fixes

This commit is contained in:
pfych 2025-03-23 12:03:45 +11:00
parent 3f4edd589a
commit 4fce8202d4
2 changed files with 7 additions and 0 deletions

View File

@ -7,6 +7,9 @@ source "$CONFIGDIR/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh"
ZSH_AUTOSUGGEST_USE_ASYNC=true
ZSH_AUTOSUGGEST_STRATEGY=(history completion)
# FZF
source <(fzf --zsh)
# Prompt
configPrompt() {
case $(uname -n) in

View File

@ -2,6 +2,10 @@
SAVEHIST=1000
HISTSIZE=1000
HISTFILE=~/.zsh_history
setopt hist_ignore_all_dups
setopt hist_ignore_space
setopt extendedglob
HISTORY_IGNORE='(git reset*|reboot|shutdown|exit|cd ..|cd ~|..|~|clear)'
setopt SHARE_HISTORY
setopt HIST_IGNORE_ALL_DUPS