Add k9s command

This commit is contained in:
Jeremy Dormitzer 2021-04-05 10:46:20 -04:00
parent 3d3c04eb5f
commit c7c56078b8

View File

@ -50,4 +50,12 @@
kubectl-deployments
kubectl-statefulsets))
(when (executable-find "k9s")
(defun k9s ()
(interactive)
(let ((k9s-buf (vterm "*k9s*")))
(switch-to-buffer k9s-buf)
(vterm-send-string (executable-find "k9s"))
(vterm-send-return))))
(provide 'init-kubernetes)