Respect dir-locals in eshell
This commit is contained in:
parent
bb0d50e579
commit
623e270f49
@ -38,6 +38,10 @@
|
||||
(setq jdormit-eshell-prompt-regex "^[^#λ\n]* [#λ] ")
|
||||
(setq eshell-prompt-function 'jdormit-eshell-prompt)
|
||||
(setq eshell-prompt-regexp jdormit-eshell-prompt-regex)
|
||||
|
||||
;; Load dir-locals when switching directories
|
||||
(add-hook 'eshell-mode-hook #'hack-dir-local-variables-non-file-buffer)
|
||||
(add-hook 'eshell-after-prompt-hook #'hack-dir-local-variables-non-file-buffer)
|
||||
:general
|
||||
(leader-map "'" #'open-eshell)
|
||||
:custom
|
||||
|
Loading…
Reference in New Issue
Block a user