Tips-N'-Tricks: fix symlink for zsh completion
From `Library/Contributions/brew_zsh_completion.zsh`: ````bash ```` Then it should give symlinked file name of `_brew` instead of being just `brew_zsh_completion.zsh` Closes Homebrew/homebrew#48897. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
parent
1ed7108052
commit
e945461212
@ -55,7 +55,7 @@ source $(brew --repository)/Library/Contributions/brew_bash_completion.sh
|
|||||||
Run in terminal (may require `sudo`):
|
Run in terminal (may require `sudo`):
|
||||||
|
|
||||||
```zsh
|
```zsh
|
||||||
ln -s "$(brew --prefix)/Library/Contributions/brew_zsh_completion.zsh" /usr/local/share/zsh/site-functions
|
ln -s "$(brew --prefix)/Library/Contributions/brew_zsh_completion.zsh" /usr/local/share/zsh/site-functions/_brew
|
||||||
```
|
```
|
||||||
|
|
||||||
## Pre-downloading a file for a formula
|
## Pre-downloading a file for a formula
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user