mirror of https://github.com/kubernetes/kops.git
Merge pull request #2565 from gianrubio/fix-completion-command
review completion command
This commit is contained in:
commit
12e4305998
|
|
@ -75,18 +75,14 @@ var (
|
||||||
source $(brew --prefix)/etc/bash_completion
|
source $(brew --prefix)/etc/bash_completion
|
||||||
|
|
||||||
# Bash completion support
|
# Bash completion support
|
||||||
printf "
|
printf "source $(brew --prefix)/etc/bash_completion\n" >> $HOME/.bash_profile
|
||||||
source $(brew --prefix)/etc/bash_completion
|
|
||||||
" >> $HOME/.bash_profile
|
|
||||||
source $HOME/.bash_profile
|
source $HOME/.bash_profile
|
||||||
source <(kops completion bash)
|
source <(kops completion bash)
|
||||||
kops completion bash > ~/.kops/completion.bash.inc
|
kops completion bash > ~/.kops/completion.bash.inc
|
||||||
printf "
|
chmod +x $HOME/.kops/completion.bash.inc
|
||||||
|
|
||||||
# kops shell completion
|
# kops shell completion
|
||||||
$HOME/.kops/completion.bash.inc'
|
printf "$HOME/.kops/completion.bash.inc\n" >> $HOME/.bash_profile
|
||||||
" >> $HOME/.bash_profile
|
|
||||||
|
|
||||||
source $HOME/.bash_profile
|
source $HOME/.bash_profile
|
||||||
|
|
||||||
# Load the kops completion code for zsh[1] into the current shell
|
# Load the kops completion code for zsh[1] into the current shell
|
||||||
|
|
|
||||||
|
|
@ -23,18 +23,14 @@ kops completion
|
||||||
source $(brew --prefix)/etc/bash_completion
|
source $(brew --prefix)/etc/bash_completion
|
||||||
|
|
||||||
# Bash completion support
|
# Bash completion support
|
||||||
printf "
|
printf "source $(brew --prefix)/etc/bash_completion\n" >> $HOME/.bash_profile
|
||||||
source $(brew --prefix)/etc/bash_completion
|
|
||||||
" >> $HOME/.bash_profile
|
|
||||||
source $HOME/.bash_profile
|
source $HOME/.bash_profile
|
||||||
source <(kops completion bash)
|
source <(kops completion bash)
|
||||||
kops completion bash > ~/.kops/completion.bash.inc
|
kops completion bash > ~/.kops/completion.bash.inc
|
||||||
printf "
|
chmod +x $HOME/.kops/completion.bash.inc
|
||||||
|
|
||||||
# kops shell completion
|
# kops shell completion
|
||||||
$HOME/.kops/completion.bash.inc'
|
printf "$HOME/.kops/completion.bash.inc\n" >> $HOME/.bash_profile
|
||||||
" >> $HOME/.bash_profile
|
|
||||||
|
|
||||||
source $HOME/.bash_profile
|
source $HOME/.bash_profile
|
||||||
|
|
||||||
# Load the kops completion code for zsh[1] into the current shell
|
# Load the kops completion code for zsh[1] into the current shell
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue