diff options
| author | Chayoung You | 2016-04-16 22:12:28 +0900 |
|---|---|---|
| committer | Xu Cheng | 2016-04-16 21:12:28 +0800 |
| commit | e0264302c7cca1b6b472aba912bfe100489bd698 (patch) | |
| tree | b13ca9d3508ac33947c1abb4e5939957ff5f32bd | |
| parent | f6d5ae2253813f868e8c2e0170f3260dcc5c25e4 (diff) | |
| download | brew-e0264302c7cca1b6b472aba912bfe100489bd698.tar.bz2 | |
doc: remove outdated documentation for completion (#99)
By the commit edf000e4cd30c3626ccc28c52ed32f2d84a200dd, bash and zsh
completion scripts have been moved to `etc/bash_completion.d/brew` and
`share/zsh/site-functions/_brew`, respectively. Now completion will be
done automatically without any trick.
| -rw-r--r-- | share/doc/homebrew/Tips-N'-Tricks.md | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/share/doc/homebrew/Tips-N'-Tricks.md b/share/doc/homebrew/Tips-N'-Tricks.md index eee552802..c2159bb0d 100644 --- a/share/doc/homebrew/Tips-N'-Tricks.md +++ b/share/doc/homebrew/Tips-N'-Tricks.md @@ -42,22 +42,6 @@ Use `brew info $FORMULA` to check what versions are installed but not currently ./configure --prefix=/usr/local/Cellar/foo/1.2 && make && make install && brew link foo ``` -## Command tab-completion - -### Bash -Add to your `~/.bashrc` or `~/.bash_profile` (whichever you have configured to run on shell startup): - -```bash -source $(brew --repository)/Library/Contributions/brew_bash_completion.sh -``` - -### Zsh -Run in terminal (may require `sudo`): - -```zsh -ln -s "$(brew --prefix)/Library/Contributions/brew_zsh_completion.zsh" /usr/local/share/zsh/site-functions/_brew -``` - ## Pre-downloading a file for a formula Sometimes it's faster to download a file via means other than those |
