We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12d7b71 commit 0452643Copy full SHA for 0452643
config/common/.config/fish/functions/kxs.fish
@@ -0,0 +1,8 @@
1
+function kxs
2
+ if test (count $argv) -ne 2
3
+ echo "Usage: kx <context> <ns>"
4
+ return 1
5
+ end
6
+ kubectl config use-context $argv[1]
7
+ kubectl config set-context --current --namespace=$argv[2]
8
+end
0 commit comments