9 Commits

Author SHA1 Message Date
Markus Reiter
ddaf17396e Remove brew cask update from ZSH completions. 2016-12-30 14:01:43 +01:00
Devesh Khandelwal
9285282525 Repeated typo. 2016-11-11 04:04:50 +05:30
Devesh Khandelwal
feb34e54eb Typo: delet -> delete 2016-11-11 03:26:42 +05:30
Eitot
0b176f9cc8 Add dictionary artifact 2016-10-23 17:43:06 +02:00
Andrew Janke
b7fc819150 tweak zsh 'brew deps' completions 2016-10-17 00:15:18 -04:00
Mike McQuaid
f435adc2d0 Rename tap-readme command to tap-new.
Write the README but also a `.travis.yml` file (and in future perhaps a
`Jenkinsfile`).
2016-10-15 12:32:34 +01:00
Joshua McKinney
d624627885 Refactor and add commands to brew zsh completion
This is a full rewrite of the zsh completion based on the changes we
made to support external commands. A function for each brew command
handles only that command's arguments. The main completion function
dispatches the completion flow to the correct function. This
generically works with both internal and external commands.

This change includes all arguments for all internal brew commands.
Some commands are missing argument documentation due to missing help
docs.
2016-09-29 12:57:53 -04:00
Eli Young
09c04aa715 completion: Avoid aliases with command ls
If the user has an alias overriding the `ls` command that modifies the
output (e.g. `alias ls='ls -F'`), it will cause unexpected characters to
appear in completions. Using `command ls` forces the shell to use the
command directly, without alias expansion.

This also blackholes the stderr of `ls` when used to avoid printing
errors during completion if the requisite directory does not exist.
2016-09-28 16:36:11 -07:00
Mike McQuaid
bd6fb88ddc Rearrange repository files. 2016-09-20 10:41:42 +01:00