Run direnv/python-venv stuff after every prompt rendering in eshell
This commit is contained in:
parent
02007b37f2
commit
df593f7cbc
@ -2520,7 +2520,7 @@ And a function to run any program visually:
|
|||||||
Load .dir-locals.el when switching directories:
|
Load .dir-locals.el when switching directories:
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(add-hook 'eshell-mode-hook #'hack-dir-local-variables-non-file-buffer)
|
(add-hook 'eshell-mode-hook #'hack-dir-local-variables-non-file-buffer)
|
||||||
(add-hook 'eshell-directory-change-hook #'hack-dir-local-variables-non-file-buffer)
|
(add-hook 'eshell-after-prompt-hook #'hack-dir-local-variables-non-file-buffer)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
A function to properly clear the eshell:
|
A function to properly clear the eshell:
|
||||||
|
Loading…
Reference in New Issue
Block a user