From ae6fbc1518d27f3aa94cedbdd20b52bbd11d873a Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Tue, 3 May 2022 11:10:57 +0200 Subject: [PATCH] Update kbash and kdjango to use kubectl plugins --- dot_config/fish/private_functions/kdjango.fish | 3 +++ dot_config/fish/private_functions/private_kbash.fish | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 dot_config/fish/private_functions/kdjango.fish diff --git a/dot_config/fish/private_functions/kdjango.fish b/dot_config/fish/private_functions/kdjango.fish new file mode 100644 index 0000000..8396f93 --- /dev/null +++ b/dot_config/fish/private_functions/kdjango.fish @@ -0,0 +1,3 @@ +function kdjango +kubectl django $argv +end diff --git a/dot_config/fish/private_functions/private_kbash.fish b/dot_config/fish/private_functions/private_kbash.fish index f81a784..72623b5 100644 --- a/dot_config/fish/private_functions/private_kbash.fish +++ b/dot_config/fish/private_functions/private_kbash.fish @@ -1,4 +1,3 @@ -# Defined interactively function kbash -kubectl exec $argv -it -- bash +kubectl $argv end