From c991af3e0ffb61f3dd6f882016b5d6bacc28b4bc Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Fri, 15 Jul 2022 07:53:44 +0100 Subject: [PATCH] Added auto update and tab completion for GS utils Signed-off-by: Marcus Noble --- home/.dotfiles/giantswarm | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 home/.dotfiles/giantswarm diff --git a/home/.dotfiles/giantswarm b/home/.dotfiles/giantswarm new file mode 100644 index 0000000..a8d010b --- /dev/null +++ b/home/.dotfiles/giantswarm @@ -0,0 +1,7 @@ +# Giant Swarm utils +which opsctl &>/dev/null && screen -dm bash -c 'opsctl version update' +which devctl &>/dev/null && screen -dm bash -c 'devctl version update' +which kubectl-gs &>/dev/null && screen -dm bash -c 'kubectl-gs selfupdate' +which opsctl &>/dev/null && opsctl completion zsh > /usr/local/share/zsh/site-functions/_opsctl +which devctl &>/dev/null && devctl completion zsh > /usr/local/share/zsh/site-functions/_devctl +rm -f ~/.zcompdump; compinit