Add function to run any program visually
This commit is contained in:
parent
e2e6cfc798
commit
247f230d3f
@ -1067,11 +1067,16 @@ Visual programs:
|
||||
(add-hook 'eshell-mode-hook #'eshell-setup)
|
||||
#+END_SRC
|
||||
|
||||
And a function to run any program visually:
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(defun eshell/v (&rest args)
|
||||
(apply #'eshell-exec-visual args))
|
||||
#+END_SRC
|
||||
|
||||
Load .dir-locals.el when switching directories:
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(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)
|
||||
|
||||
#+END_SRC
|
||||
|
||||
Some aliases:
|
||||
|
Loading…
Reference in New Issue
Block a user