mirror of
https://github.com/spf13/cobra
synced 2025-05-05 04:47:22 +00:00
Merge cb666582e9
into 9e1d6f1c2a
This commit is contained in:
commit
41998feb8b
1 changed files with 2 additions and 2 deletions
|
@ -626,9 +626,9 @@ $ source <(%[1]s completion bash)
|
|||
|
||||
To load completions for every new session, execute once:
|
||||
Linux:
|
||||
$ %[1]s completion bash > /etc/bash_completion.d/%[1]s
|
||||
$ %[1]s completion bash > /etc/bash_completion.d/%[1]s
|
||||
MacOS:
|
||||
$ %[1]s completion bash > /usr/local/etc/bash_completion.d/%[1]s
|
||||
$ %[1]s completion bash > /usr/local/etc/bash_completion.d/%[1]s
|
||||
|
||||
You will need to start a new shell for this setup to take effect.
|
||||
`, c.Root().Name()),
|
||||
|
|
Loading…
Add table
Reference in a new issue