Skip to content

Commit

Permalink
doc(cli): zsh completion
Browse files Browse the repository at this point in the history
  • Loading branch information
sh0rez committed Mar 15, 2019
1 parent c4cd4e9 commit 7886232
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions completion.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ To configure your bash shell to load completions for each session add to your ba
# ~/.bashrc or ~/.profile
. <(jk completion)
If you want to use zsh instead, do the following:
$ jk completion zsh > _jk
Then move _jk into $fpath and run compinit.
`,
Run: func(cmd *cobra.Command, args []string) {
shell := "bash"
Expand Down

0 comments on commit 7886232

Please sign in to comment.