Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | TOOLS/zsh.pl: complete --audio-device | Philip Sequeira | 2016-04-16 | 1 | -6/+22 |
| | |||||
* | TOOLS/zsh.pl: properly escape last change | Philip Sequeira | 2016-04-08 | 1 | -2/+2 |
| | | | | | | I'm an idiot. Fixes #3032. | ||||
* | TOOLS/zsh.pl: don't complete URLs by default | Philip Sequeira | 2016-04-08 | 1 | -1/+7 |
| | | | | | | | ...unless no files match. Fixes #2892. To get the old behaviour back, use something like: zstyle ':completion:*:*:mpv:*' tag-order | ||||
* | TOOLS/zsh.pl: add .wv extension in zsh completions | Martin Herkt | 2016-03-26 | 1 | -1/+1 |
| | |||||
* | TOOLS/zsh.pl: add .opus extension in zsh completions | Eric G | 2015-12-29 | 1 | -1/+1 |
| | |||||
* | TOOLS/zsh.pl: only check the actual exit code when calling mpv | Philip Sequeira | 2015-09-20 | 1 | -2/+2 |
| | | | | | Ignore the other bits of $?. Apparently they can be set even if the command succeeded. | ||||
* | TOOLS/zsh.pl: die loudly if mpv fails to run | Philip Sequeira | 2015-07-19 | 1 | -2/+13 |
| | |||||
* | TOOLS/zsh.pl: complete multiple values for ao, vo, af, vf | Philip Sequeira | 2015-03-31 | 1 | -21/+9 |
| | | | | It still doesn't deal with sub-options, but that's for another day. | ||||
* | TOOLS/zsh.pl: cosmetics | Philip Sequeira | 2015-03-31 | 1 | -26/+25 |
| | |||||
* | TOOLS/zsh.pl: use --no-config when calling mpv | Philip Sequeira | 2015-03-31 | 1 | -8/+8 |
| | |||||
* | TOOLS/zsh.pl: complete options based on types | Philip Sequeira | 2015-01-06 | 1 | -31/+70 |
| | | | | | | | | | | No more equals signs for options that don't take values. Complete values for options with preset choices. Complete --no-whatever where applicable. Fixes #997. | ||||
* | TOOLS/zsh.pl: complete options that take file names | Philip Sequeira | 2014-09-13 | 1 | -0/+7 |
| | |||||
* | TOOLS/zsh.pl: protect global environment | Philip Sequeira | 2014-08-17 | 1 | -0/+4 |
| | |||||
* | TOOLS/zsh.pl: fix a ret that hadn't been changed to rc | Philip Sequeira | 2014-08-17 | 1 | -1/+1 |
| | |||||
* | TOOLS/zsh.pl: complete profiles | Philip Sequeira | 2014-08-17 | 1 | -0/+36 |
| | | | | Implemented in shell, because it has to be done at runtime. | ||||
* | TOOLS/zsh.pl: properly set the return value | Alessandro Ghedini | 2014-08-13 | 1 | -9/+12 |
| | | | | | | The previous commit made the completion script always return non-zero, even when a match is found. This explicitly sets the return value to zero whenever a match is found but defaults to non-zero in case nothing is matched. | ||||
* | TOOLS/zsh.pl: properly return non-zero when no matches are found | c_14 | 2014-08-13 | 1 | -0/+1 |
| | | | | | | | | Returning a non-zero value signals to the zsh completion system that no matches were added by the script so that it can try the user-defined matchers (e.g. those defined with matcher-list). Fixes #1008. | ||||
* | TOOLS/zsh.pl: complete URL schemes based on --list-protocols | Alessandro Ghedini | 2014-07-03 | 1 | -2/+7 |
| | |||||
* | TOOLS/zsh.pl: sort options in reverse order by length | Alessandro Ghedini | 2014-07-03 | 1 | -0/+9 |
| | | | | | This stops options that are prefixes of other options from blocking completion of values for the longer ones. | ||||
* | TOOLS/zsh.pl: untabify | Philip Sequeira | 2014-07-03 | 1 | -26/+26 |
| | |||||
* | TOOLS/zsh.pl: fix _arguments line | Philip Sequeira | 2014-07-03 | 1 | -1/+1 |
| | | | | | | | | | Don't use _x_arguments, as we don't support X arguments. Get rid of -s, because we don't support multiple single-letter options in one argument. Add -S, because we ignore options after "--". | ||||
* | TOOLS/zsh.pl: don't consume extra arguments | Philip Sequeira | 2014-07-03 | 1 | -10/+18 |
| | | | | | | | | | | | | Completion now uses "--opt=value" instead of "--opt value". Once the user presses space and starts a new argument, the option just completed is out of the picture, whether or not it was given an argument. This handles options with no arguments or optional arguments much better; previously, completing such an option would effectively disable completion for the next argument. Custom completed options such as "--ao" and friends will no longer claim to consume an extra argument. | ||||
* | TOOLS/zsh.pl: escape all colons in option descriptions | Philip Sequeira | 2014-07-03 | 1 | -1/+1 |
| | |||||
* | TOOLS: add script for generating a zsh completion script | Alessandro Ghedini | 2014-06-08 | 1 | -0/+129 |
As discussed in #775 |