Skip to content
Myr

Modify brew prefix path in macOS system (#1719)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by xuwu · committed by GitHub · parent ca8e3c2 · Browse files · 2 files+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+3 added−3 removed

  • other:+3 added−3 removed

2 files+3 added−3 removed

modified:completions.go+2 added-2 removed
650 unmodified lines
651 %[1]s completion bash > /etc/bash_completion.d/%[1]s652653#### macOS:654655 %[1]s completion bash > /usr/local/etc/bash_completion.d/%[1]s655 %[1]s completion bash > $(brew --prefix)/etc/bash_completion.d/%[1]s656657You will need to start a new shell for this setup to take effect.658`, c.Root().Name()),659 Args: NoArgs,
28 unmodified lines
688 %[1]s completion zsh > "${fpath[1]}/_%[1]s"689690#### macOS:691692 %[1]s completion zsh > /usr/local/share/zsh/site-functions/_%[1]s692 %[1]s completion zsh > $(brew --prefix)/share/zsh/site-functions/_%[1]s693694You will need to start a new shell for this setup to take effect.695`, c.Root().Name()),696 Args: NoArgs,
127 unmodified lines
modified:shell_completions.md+1 added-1 removed
38 unmodified lines
39 # To load completions for each session, execute once:40 # Linux:41 $ %[1]s completion bash > /etc/bash_completion.d/%[1]s42 # macOS:43 $ %[1]s completion bash > /usr/local/etc/bash_completion.d/%[1]s43 $ %[1]s completion bash > $(brew --prefix)/etc/bash_completion.d/%[1]s4445Zsh:4647 # If shell completion is not already enabled in your environment,
501 unmodified lines