mirror of
https://github.com/SqrtMinusOne/eshell-atuin.git
synced 2025-12-10 20:33:04 +03:00
eshell-atuin: reset cache on update search options
This commit is contained in:
parent
a2565bf599
commit
83f5011711
1 changed files with 6 additions and 1 deletions
|
|
@ -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.")
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue