Skip to content

Commit

Permalink
auto-completion
Browse files Browse the repository at this point in the history
Signed-off-by: Qiannan Lyu <lvqiannan@gmail.com>
  • Loading branch information
hsqlu committed Mar 29, 2020
1 parent 58678c2 commit 3cd321f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tools/pd-ctl/pdctl/command/completion_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,8 @@ the .bash_profile.
brew install bash-completion
## or, if running Bash 4.1+
brew install bash-completion@2
## If tkctl is installed via homebrew, this should start working immediately.
## If you've installed via other means, you may need add the completion to your completion directory
tkctl completion bash > $(brew --prefix)/etc/bash_completion.d/tkctl
pd-ctl completion bash > $(brew --prefix)/etc/bash_completion.d/pd-ctl
# Installing bash completion on Linux
Expand Down

0 comments on commit 3cd321f

Please sign in to comment.