Hook zoxide into consult-after-jump as well
This commit is contained in:
parent
3a7870fe9f
commit
9d706daf54
2 changed files with 8 additions and 6 deletions
|
@ -4860,9 +4860,10 @@ of different paths inside Zoxide. This is how to do it:
|
||||||
(when (executable-find "zoxide")
|
(when (executable-find "zoxide")
|
||||||
(use-package zoxide
|
(use-package zoxide
|
||||||
:ensure t
|
:ensure t
|
||||||
:config
|
:hook
|
||||||
(add-hook 'find-file-hook #'zoxide-add)
|
(consult-after-jump-hook . zoxide-add)
|
||||||
(add-hook 'dired-mode-hook #'zoxide-add)))
|
(find-file-hook . zoxide-add)
|
||||||
|
(dired-mode-hook . zoxide-add)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** The =unravel-shell.el= section for writing fish configuration (~fish-mode~)
|
** The =unravel-shell.el= section for writing fish configuration (~fish-mode~)
|
||||||
|
|
|
@ -10,9 +10,10 @@
|
||||||
(when (executable-find "zoxide")
|
(when (executable-find "zoxide")
|
||||||
(use-package zoxide
|
(use-package zoxide
|
||||||
:ensure t
|
:ensure t
|
||||||
:config
|
:hook
|
||||||
(add-hook 'find-file-hook #'zoxide-add)
|
(consult-after-jump-hook . zoxide-add)
|
||||||
(add-hook 'dired-mode-hook #'zoxide-add)))
|
(find-file-hook . zoxide-add)
|
||||||
|
(dired-mode-hook . zoxide-add)))
|
||||||
|
|
||||||
;; Mode to read/write fish functions and files
|
;; Mode to read/write fish functions and files
|
||||||
(use-package fish-mode
|
(use-package fish-mode
|
||||||
|
|
Loading…
Reference in a new issue