FZF & Hist fixes
This commit is contained in:
parent
3f4edd589a
commit
4fce8202d4
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user