Skip to content

Commit

Permalink
Update shell_completions.md
Browse files Browse the repository at this point in the history
  • Loading branch information
georgettica committed Jul 9, 2021
1 parent 96a01f0 commit b0d065a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shell_completions.md
Expand Up @@ -48,7 +48,7 @@ Zsh:
$ echo "autoload -U compinit; compinit" >> ~/.zshrc
# To load completions for each session, execute once:
$ %[1]s completion zsh > "${fpath[1]}/_yourprogram"
$ %[1]s completion zsh > "${fpath[1]}/_%[1]s"
# You will need to start a new shell for this setup to take effect.
Expand All @@ -66,7 +66,7 @@ PowerShell:
# To load completions for every new session, run:
PS> %[1]s completion powershell > %[1]s.ps1
# and source this file from your PowerShell profile.
`,cmd.Root().Use),
`,cmd.Root().Name()),
DisableFlagsInUseLine: true,
ValidArgs: []string{"bash", "zsh", "fish", "powershell"},
Args: cobra.ExactValidArgs(1),
Expand Down

0 comments on commit b0d065a

Please sign in to comment.