Added auto update and tab completion for GS utils
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
parent
f363cabe84
commit
c991af3e0f
7
home/.dotfiles/giantswarm
Normal file
7
home/.dotfiles/giantswarm
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user