Teach eshell to open k8s execs in a visual shell
This commit is contained in:
parent
2d4f8491f2
commit
2e75c083b3
@ -2647,7 +2647,9 @@ Visual programs:
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(defun eshell-setup ()
|
||||
(add-to-list 'eshell-visual-commands "crawl")
|
||||
(add-to-list 'eshell-visual-commands "ssh"))
|
||||
(add-to-list 'eshell-visual-commands "ssh")
|
||||
(add-to-list 'eshell-visual-subcommands '("kubectl" "exec"))
|
||||
(add-to-list 'eshell-visual-subcommands '("k" "exec")))
|
||||
|
||||
(add-hook 'eshell-mode-hook #'eshell-setup)
|
||||
#+END_SRC
|
||||
|
Loading…
Reference in New Issue
Block a user