The Homebrew command `switch` will now be completed and installed
fomulas can be completed. The installed versions (the last argument of
`brew switch [formula] [version]`) is not completed at this point.
ClosesHomebrew/homebrew#27966.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
* Added `pin` et. al. to manpage.
* Added `brew pin` to `brew.1` * Added `brew unpin` to `brew.1`
* Added `brew list --pinned` to `brew.1`
* Added information about frozen formulae to `brew upgrade` in `brew.1`
* Added `pin` et.al. to completion scripts.
* Unpin formulae when uninstalling them
* Unpin and re-pin formulae when upgrading (avoids stale symlink)
References Homebrew/homebrew#18386.
ClosesHomebrew/homebrew#18515.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
1. Fix a misspelled variable to avoid shell namespace pollution
2. Remove a bogus completion (the 'brew xo' one)
3. Add missing tab completion code for
- Several arguments/commands (options, --cellar etc.)
- Aliases (e.g. home and homepage)
- 'brew edit' complete to all formulae, not just installed ones
Signed-off-by: Adam Vandenberg <flangy@gmail.com>