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:
Kazem Keshavarz 2016-02-06 02:12:41 +03:30 committed by Dominyk Tiller
parent 1ed7108052
commit e945461212

View File

@ -55,7 +55,7 @@ source $(brew --repository)/Library/Contributions/brew_bash_completion.sh
Run in terminal (may require `sudo`):
```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