Add k9s command
This commit is contained in:
parent
3d3c04eb5f
commit
c7c56078b8
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user