eshell-atuin: reset cache on update search options

This commit is contained in:
Pavel Korytov 2024-05-19 23:50:22 +03:00
parent a2565bf599
commit 83f5011711

View file

@ -117,7 +117,12 @@ include here. Some examples:
- \\='(\"--exit\" \"0\") to filter out non-zero exit codes. - \\='(\"--exit\" \"0\") to filter out non-zero exit codes.
- \\='(\"--exclude-cwd\" \"/some/dir\")" - \\='(\"--exclude-cwd\" \"/some/dir\")"
:group 'eshell-atuin :group 'eshell-atuin
:type '(repeat string)) :type '(repeat string)
:set
(lambda (sym value)
(set-default sym value)
(when (fboundp #'eshell-atuin--history-reset)
(eshell-atuin--history-reset))))
(defvar-local eshell-atuin--history-id nil (defvar-local eshell-atuin--history-id nil
"Atuin ID of the current eshell command.") "Atuin ID of the current eshell command.")