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
|
||||
|
||||
# Bash completion support
|
||||
printf "
|
||||
source $(brew --prefix)/etc/bash_completion
|
||||
" >> $HOME/.bash_profile
|
||||
source $HOME/.bash_profile
|
||||
source <(kops completion bash)
|
||||
kops completion bash > ~/.kops/completion.bash.inc
|
||||
printf "
|
||||
printf "source $(brew --prefix)/etc/bash_completion\n" >> $HOME/.bash_profile
|
||||
source $HOME/.bash_profile
|
||||
source <(kops completion bash)
|
||||
kops completion bash > ~/.kops/completion.bash.inc
|
||||
chmod +x $HOME/.kops/completion.bash.inc
|
||||
|
||||
# kops shell completion
|
||||
$HOME/.kops/completion.bash.inc'
|
||||
" >> $HOME/.bash_profile
|
||||
|
||||
printf "$HOME/.kops/completion.bash.inc\n" >> $HOME/.bash_profile
|
||||
source $HOME/.bash_profile
|
||||
|
||||
# Load the kops completion code for zsh[1] into the current shell
|
||||
|
|
|
|||
|
|
@ -23,18 +23,14 @@ kops completion
|
|||
source $(brew --prefix)/etc/bash_completion
|
||||
|
||||
# Bash completion support
|
||||
printf "
|
||||
source $(brew --prefix)/etc/bash_completion
|
||||
" >> $HOME/.bash_profile
|
||||
printf "source $(brew --prefix)/etc/bash_completion\n" >> $HOME/.bash_profile
|
||||
source $HOME/.bash_profile
|
||||
source <(kops completion bash)
|
||||
kops completion bash > ~/.kops/completion.bash.inc
|
||||
printf "
|
||||
chmod +x $HOME/.kops/completion.bash.inc
|
||||
|
||||
# kops shell completion
|
||||
$HOME/.kops/completion.bash.inc'
|
||||
" >> $HOME/.bash_profile
|
||||
|
||||
printf "$HOME/.kops/completion.bash.inc\n" >> $HOME/.bash_profile
|
||||
source $HOME/.bash_profile
|
||||
|
||||
# Load the kops completion code for zsh[1] into the current shell
|
||||
|
|
|
|||
Loading…
Reference in New Issue