zsh: History fix final_fixed_FINAL (really, I swear 🤞)
This commit is contained in:
parent
869bf8933e
commit
4c8793e264
@ -21,12 +21,13 @@ setopt HIST_EXPIRE_DUPS_FIRST HIST_IGNORE_DUPS
|
||||
setopt HIST_IGNORE_SPACE HIST_REDUCE_BLANKS HIST_VERIFY HIST_FCNTL_LOCK
|
||||
|
||||
# Import new commands from the history file
|
||||
function _my_history_preexec()
|
||||
function _my_import_history_zshaddhistory()
|
||||
{
|
||||
fc -RI
|
||||
return 0
|
||||
}
|
||||
autoload -Uz add-zsh-hook
|
||||
add-zsh-hook preexec _my_history_preexec
|
||||
add-zsh-hook zshaddhistory _my_import_history_zshaddhistory
|
||||
|
||||
############################## Plugins #########################################
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user