mirror of
https://github.com/spf13/cobra
synced 2025-05-05 12:57:22 +00:00
Modify brew prefix path in macOS system
This commit is contained in:
parent
37d481d4d4
commit
74e30b0708
1 changed files with 2 additions and 2 deletions
|
@ -652,7 +652,7 @@ To load completions for every new session, execute once:
|
||||||
|
|
||||||
#### macOS:
|
#### macOS:
|
||||||
|
|
||||||
%[1]s completion bash > /usr/local/etc/bash_completion.d/%[1]s
|
%[1]s completion bash > $(brew --prefix)/etc/bash_completion.d/%[1]s
|
||||||
|
|
||||||
You will need to start a new shell for this setup to take effect.
|
You will need to start a new shell for this setup to take effect.
|
||||||
`, c.Root().Name()),
|
`, c.Root().Name()),
|
||||||
|
@ -689,7 +689,7 @@ To load completions for every new session, execute once:
|
||||||
|
|
||||||
#### macOS:
|
#### macOS:
|
||||||
|
|
||||||
%[1]s completion zsh > /usr/local/share/zsh/site-functions/_%[1]s
|
%[1]s completion zsh > $(brew --prefix)/share/zsh/site-functions/_%[1]s
|
||||||
|
|
||||||
You will need to start a new shell for this setup to take effect.
|
You will need to start a new shell for this setup to take effect.
|
||||||
`, c.Root().Name()),
|
`, c.Root().Name()),
|
||||||
|
|
Loading…
Add table
Reference in a new issue