1
0
Fork 0

fish, zsh: functions

This commit is contained in:
Von Random 2024-11-11 12:21:02 +02:00
parent a8e215506a
commit 1dc616297a
6 changed files with 53 additions and 37 deletions

View file

@ -0,0 +1,3 @@
function k
command kubectl $argv
end

View file

@ -0,0 +1,3 @@
function kc
command kubectl config $argv
end

View file

@ -0,0 +1,3 @@
function kg
command kubectl get $argv
end

View file

@ -0,0 +1,3 @@
function kshell
command kubectl exec -n "$1" --stdin --tty "$2" -- /bin/sh
end

View file

@ -0,0 +1,3 @@
function ksw
command kubecm switch $argv
end