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_USE_ASYNC=true
|
||||||
ZSH_AUTOSUGGEST_STRATEGY=(history completion)
|
ZSH_AUTOSUGGEST_STRATEGY=(history completion)
|
||||||
|
|
||||||
|
# FZF
|
||||||
|
source <(fzf --zsh)
|
||||||
|
|
||||||
# Prompt
|
# Prompt
|
||||||
configPrompt() {
|
configPrompt() {
|
||||||
case $(uname -n) in
|
case $(uname -n) in
|
||||||
|
@ -2,6 +2,10 @@
|
|||||||
SAVEHIST=1000
|
SAVEHIST=1000
|
||||||
HISTSIZE=1000
|
HISTSIZE=1000
|
||||||
HISTFILE=~/.zsh_history
|
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 SHARE_HISTORY
|
||||||
setopt HIST_IGNORE_ALL_DUPS
|
setopt HIST_IGNORE_ALL_DUPS
|
||||||
|
Loading…
Reference in New Issue
Block a user