dana
64ef1eddfd
42931: completion for several utilities especially for checksums across a variety of systems
2018-06-07 18:19:55 +02:00
Eitan Adler
f16c690bea
42935: FreeBSD does not support -v for arp
2018-06-07 17:42:50 +02:00
Eitan Adler
780f169eff
42937: add -M and -m options
2018-06-07 17:39:02 +02:00
Oliver Kiddle
09b6959aa5
43943: update samba completion with long options
2018-06-07 17:30:57 +02:00
dana
32ac8c5bcb
42919: new shuf and uptime completions
2018-06-04 00:19:02 +02:00
dana
3585c28c36
42922: new tac completion
2018-06-04 00:12:41 +02:00
Oliver Kiddle
47f34eff93
42881: update options in ghostscript completion and query more matches directly from it
2018-06-04 00:07:23 +02:00
Oliver Kiddle
780c966972
42920: new dkms completion
2018-06-03 23:58:16 +02:00
Oliver Kiddle
5e2d3d1e15
42806: fix shutdown completion where options were lost due to args= assignment where args+= was needed
2018-05-19 11:10:46 +02:00
Oliver Kiddle
25f6f5eebe
42803: handle Linux and the the BSDs in netstat completion
2018-05-19 11:06:52 +02:00
Oliver Kiddle
afec5fb136
42784: complete -s and -x options to the functions builtin
2018-05-17 22:55:33 +02:00
Peter Stephenson
fa441fa20e
42752: enhance git external alias completion
...
If alias expands to !cmd-name, complete as a normal command
line after cmd-name.
2018-05-08 17:13:12 +01:00
Eitan Adler
942ac7e6e2
42740: Teach _systat about the 'zarc' screen
2018-05-02 09:12:58 +02:00
Eitan Adler
2d8574ef7d
42732: Add several more entries to ifconfig
2018-05-02 09:09:09 +02:00
Oliver Kiddle
64b60f6926
42743: update vorbis-tools completion and include vorbiscomment with the rest
2018-05-02 08:59:23 +02:00
Matthew Martin
11dbc95962
42730: Complete the options for rmdir
2018-04-29 23:54:40 +02:00
Matthew Martin
17af784c5d
42729: update df completion for [DFNO]BSD
2018-04-29 23:49:49 +02:00
Oliver Kiddle
ad9b140213
42676: deal with system specific arguments in dd completion
2018-04-29 23:32:10 +02:00
Oliver Kiddle
563a8d2853
42728: update options in libtiff tools completion and add handling for tiff2pdf
2018-04-29 23:29:40 +02:00
Oliver Kiddle
39f58eb318
42659: various completion option updates
2018-04-16 17:02:56 +02:00
Oliver Kiddle
b69a341619
42658: allow compact form of option arguments to diffstat
2018-04-16 16:53:47 +02:00
Matthew Martin
2cf01b9da8
42643, 42644: new cksum completion
2018-04-16 16:51:16 +02:00
Matthew Martin
637f9809a7
42642 (tweaked for Solaris): OpenBSD chown does not support -f and dragonfly has -x
2018-04-16 16:39:21 +02:00
Daniel Hahler
5bd659352f
42631: _pgrep: pkill: fix completion of signals
...
This adds the signals after arguments are filtered according to
$optchars.
2018-04-13 11:44:37 +02:00
pda
96f393f917
42613: typo fix in _ss
2018-04-09 23:22:25 -04:00
Oliver Kiddle
5bd63f4d69
c.f. 42499: tera torn: update twisted completion stub for new twist command
2018-04-08 10:51:35 +02:00
Mikael Magnusson
583419839f
42602: Update _gcc as of GCC 7.3.0 for generic options and x86
2018-04-07 14:08:26 +02:00
Matthew Martin
a2cb9bbed3
42604: new completions for OpenBSD's signify and vmctl
2018-04-07 11:06:24 +02:00
Klas Mellbourn
5e10acca98
github #24 : Add completion script for Visual Studio Code
2018-04-07 10:57:59 +02:00
Jun-ichi Takimoto
4b13cda37b
42590: fix detection of OSTYPE in _fmt
2018-04-05 20:31:28 +09:00
Jun-ichi Takimoto
5dc36c40c3
42585: improve completion for libarchive-based tar
...
Offer all compressed archives if no compression flag is specified
because libarchive can automaticaly recoginize them.
cf. 42574 (Eitan Adler).
2018-04-05 20:27:39 +09:00
Oliver Kiddle
bfff8debf7
42591: complete *.changes and *.dsc files alongside *.deb
2018-04-05 13:00:14 +02:00
Oliver Kiddle
9004b59115
42584: complete options for ssh-keyscan and update options for ssh-copy-id
2018-04-05 11:32:57 +02:00
Oliver Kiddle
10fcc7eaaf
42583: new column completion
2018-04-05 11:30:10 +02:00
Oliver Kiddle
d4c19184fe
42582: updates to options in completions for OpenBSD 6.3
2018-04-05 11:29:07 +02:00
Jun-ichi Takimoto
35734810d1
42578: _shutdown: add support for macOS
2018-04-05 10:34:12 +09:00
Jun-ichi Takimoto
e9a76d3924
42577: fix macOS support in _strings
2018-04-05 10:27:45 +09:00
Oliver Kiddle
1bd2ecc17d
42572: various completion option updates
2018-03-31 10:12:59 +02:00
Oliver Kiddle
b90c59e9fc
42571: new completion for FreeBSD jail command
2018-03-31 10:04:56 +02:00
Oliver Kiddle
486297520f
42568: new shutdown completion
2018-03-30 16:23:59 +02:00
Oliver Kiddle
286b4c8b0c
42569: improve lsof completion after -i and -s options
2018-03-30 16:17:44 +02:00
Oliver Kiddle
c960cd3c2d
42567: new completion for xmlstarlet
2018-03-30 16:14:34 +02:00
Oliver Kiddle
20a92b857e
42570: new completion for drill and factor out DNS type completion
2018-03-30 16:12:35 +02:00
Oliver Kiddle
36e8471a2c
42566: new strings completion
2018-03-30 12:09:31 +02:00
Mikael Magnusson
1ee82c5903
42564: _adb: Various improvements
...
Show product as description by default
Add zstyle for naming devices via serial number
Add --user to uninstall
and other improvements
2018-03-29 21:27:11 +02:00
Oliver Kiddle
de7c06a3df
42548: new pwgen completion
2018-03-28 10:32:11 +02:00
Oliver Kiddle
c2c9a16350
42549: also handle the yumdb command in yum completion
2018-03-28 10:30:05 +02:00
Oliver Kiddle
9881778d48
42550: new completion for ruby's gem
2018-03-28 09:11:35 +02:00
Oliver Kiddle
383077e0da
42520: don't use an empty but existing option cache in netcat completion
2018-03-24 15:16:07 +01:00
Oliver Kiddle
a2459bee79
42521 based on 42049 (SATOH Fumiyasu): fix finding of includes in make completion
...
make always includes relative to the current directory rather than
relative to the including Makefile.
2018-03-24 15:11:19 +01:00
Oliver Kiddle
4977ec1398
42491 based on 42000 (Andrei Shevchuk): factor ssh host completion for use for mosh and git
2018-03-24 00:09:12 +01:00
Oliver Kiddle
f1a52c23fa
42497 (tweaked c.f. 42498): make completion after apt install work on local .deb files
2018-03-23 09:57:39 +01:00
Jun-ichi Takimoto
fc37d15e3e
42191: new completion for otool (macOS)
2018-03-22 12:53:40 +09:00
Ferenc-
c3133f5eb1
github #22 : Add newer C++ standard options to gcc completion
2018-03-07 00:57:39 +01:00
Matthijs Tijink
f5d0111e15
github #23 : new kdeconnect-cli completion
2018-03-07 00:51:20 +01:00
Peter Stephenson
ba7de6d0d5
users/23169: only expand ~[...] under the same circumstances as other ~forms
2018-02-26 20:03:48 +00:00
Daniel Hahler
1142e2dedb
42364: _git: fix __git_ignore_line to ignore the current word
...
Before this patch "git branch -d master<tab>" would result in
"no matches found", while "master" itself should get completed here.
The "(bQ)" (added in 527badc23
, via 38129?!) does not seem to be necessary
anymore: with files "f\[a-z\]o" and "foo", "git add f[a-z]o <tab>"
offers "f\[a-z\]o", but not "foo".
2018-02-22 23:41:13 +01:00
Daniel Hahler
2bf952b102
42324: _git: handle mutually exclusive options
...
Currently `git show --stat -p` is not considered a valid completion and
prevents further completions like `--no-abbrev`.
It is a valid use case however to use `--stat` with `-p` (and there is a
synonym `--patch-with-stat` for it even).
This patch changes `__git_setup_diff_options` to only handle mutually
exclusive arguments reported by Git (as a fatal error) in a special way.
2018-02-12 10:12:22 +01:00
Daniel Hahler
c18fe510f4
42327: _make: complete _files
...
The use case is completing files that are actual targets, generated
using $(wildcard …).
Q: Could this be made to only complete files if make targets and vars
are empty?
2018-02-11 20:09:30 +01:00
Daniel Shahaf
5677339062
unposted: _subversion: Support subcommands with hyphens in their names, such as 'shelf-list (shelves)' from upstream 1.10 development versions.
2018-02-08 15:12:59 +00:00
Christian Hesse
dd8e55c46b
42333: git 2.16.0 no longer accepts an empty string as a pathspec element so replace empty strings with a dot
2018-02-08 00:49:46 +01:00
Matthew Martin
0236d9c5f1
42330: ln -L and -P are POSIX, but not supported by Darwin or NetBSD
2018-02-08 00:37:26 +01:00
WGH
0c324124d0
42336: force single column output when getting filenames with adb ls command
2018-02-07 20:52:28 +01:00
Oliver Kiddle
ffacc95766
42343: complete --config-option to svn more than once
2018-02-07 20:47:30 +01:00
Daniel Hahler
2870302afa
42323: _git: move "local" statement out of loop
...
Fixup for 99cf61fd4
.
2018-01-24 21:55:27 +01:00
Oliver Kiddle
47430bcd7c
42317: completion option updates for commands that have had recent updates
2018-01-23 11:03:00 +01:00
Oliver Kiddle
aabf978fce
42299: correct optional argument
2018-01-23 11:03:00 +01:00
Matthew Martin
b5572f9037
42309: A few small updates for OpenBSD
2018-01-23 11:02:56 +01:00
Peter Stephenson
b816291a17
42294: disable REPORTTIME in completion
2018-01-18 09:39:08 +00:00
Matthew Martin
ef0aae1c27
42242: add [DFNO]BSD to the mix in ldconfig completion
2018-01-10 23:39:58 +01:00
dana
0f0b602415
42231: new completion functions for simple utilities belonging to the 'Darwin' and 'Linux' groups.
2018-01-06 00:13:51 +01:00
Oliver Kiddle
0c5f851021
42230: update screen completion to 4.06.01
2018-01-05 17:27:28 +01:00
Oliver Kiddle
ef1f9e1978
42229: update completion of GNU programs for coreutils 8.29 / gawk 4.2.0
2018-01-05 17:17:47 +01:00
dana
ae059841b0
42223: new completions for sublime text and some basic Unix utilities
2018-01-05 15:29:17 +01:00
Oliver Kiddle
48f01128be
42221: update enscript completion for GNU enscript 1.6.6
2018-01-05 14:30:02 +01:00
dana
c8e2f3c3d8
42222: _object_files: recognize .dylib (macOS)
2018-01-05 10:06:50 +09:00
dana
21a09a1418
42214: use less general names on new functions for completing file flags and modes
2018-01-04 11:50:50 +01:00
Maciek Makowski
c789efbaf0
github #21 : update nmcli completions to be compatible with recent version 1.8.4
2018-01-04 11:40:03 +01:00
dana
1c4e7601c4
42210: factor out completion of file modes and flags and handle _comp_priv_prefix for chflags
2018-01-04 00:16:43 +01:00
dana
5f68531b5d
42209: take account of numeric options such as -4 instead of -t4
2018-01-04 00:05:59 +01:00
dana
9f8ed99146
42209: fix option descriptions for non-GNU variants of tr
2018-01-04 00:01:58 +01:00
Oliver Kiddle
f7a5211f38
42208: fix use of cache variables in yp completion
2018-01-03 18:39:55 +01:00
dana
d81bfa0141
42207: support g prefixes for GNU variants on systems like macOS+Homebrew
2018-01-03 17:27:23 +01:00
Matthew Martin
dd824080ca
42117: use anonymous function rather than define one in user namespace
2018-01-03 17:11:00 +01:00
Eric Cook
99cf61fd42
42171: prevent parameters of various parameters from becoming global
2018-01-02 14:38:03 -05:00
Jun-ichi Takimoto
3c24adb2ed
42183: _objdump: support LLVM variant
2017-12-31 10:11:59 +09:00
Daniel Shahaf
dd5ab15b5f
42186: _apt: Fix completion of target_release names, e.g., 'apt install zsh/<TAB>'.
...
When local-apt-repository is installed, 'apt-cache policy' contains
.
100 /var/lib/dpkg/status
release a=now
500 file:/var/lib/local-apt-repository ./ Packages
release o=local-apt-repository,c=
.
which was matched by the pattern being patched.
2017-12-30 06:15:22 +00:00
Jun-ichi Takimoto
d303dfa7f5
42175 + 42177 + 42178: avoid localized output from external commands
...
_call_program and '_arguments --' will call _comp_locale before
calling external command for easier analysis of the output.
This is disabled by passing an option '-l'.
2017-12-28 11:35:34 +09:00
Jun-ichi Takimoto
24152f766f
42176: _tar: update long options
2017-12-27 09:44:53 +09:00
dana
349c95765a
dana: various OpenSSH completion improvements
2017-12-22 19:58:24 +00:00
Daniel Shahaf
a254c1815a
42138: _git-revert: Complete recent commits first.
2017-12-20 04:13:39 +00:00
Jun-ichi Takimoto
972cf4197e
* 42143: fix a pattern in _object_files
2017-12-20 00:49:26 +09:00
Peter Stephenson
a3d92298ff
42113: BSD complation updates.
...
Remove use of pkg_* for FreeBSD.
Add BSD architecture utilities.
2017-12-13 18:08:18 +00:00
Peter Stephenson
e2f793e7df
42037: COMP_POINT for bash completion was miscalculated.
2017-11-20 09:52:05 +00:00
Oliver Kiddle
09939216d4
42019: update options in git completion to 2.15
...
also improve format completion for git tag and for-each-ref
2017-11-13 21:47:29 +01:00
Oliver Kiddle
d0b2549ba8
gitlab #1 : update options for sqlite 3.21.0
2017-11-13 21:26:37 +01:00
Malcolm Ramsay
d8e3218938
Specify system python in dnf completion
...
The python executable in the python_exec variable was the python[2|3]
executable found in $PATH. When the python[2|3] executable was not the
system installed version the completion command raised an `ImportError`
as the 'dnf' module was not found.
This commit just completely specifies the python version to be the
system version `/usr/bin/python[2|3]`, allowing completion within a
python dev environment.
2017-11-13 21:14:56 +01:00
Daniel Shahaf
7f619220bf
unposted: _sshfs: Make the -o option repeatable, accept "--".
2017-11-04 17:31:18 +00:00
Daniel Shahaf
5498e0cb9e
41969: _sort: Clarify option description.
2017-11-03 20:40:05 +00:00
Oliver Kiddle
0ebf336489
41971: correctly break out of certain tag loops when there are matches
2017-11-02 21:36:55 +01:00
Oliver Kiddle
2273fe478a
41965: complete new functions -W and zmodload -s options
2017-10-31 00:55:02 +01:00
Oliver Kiddle
aaa001e534
41963: update completion for gnutls 3.6.1
2017-10-31 00:51:42 +01:00
Sebastian Gniazdowski
37c5e20a80
41960: add missing local declarations for MATCH, MBEGIN and MEND
2017-10-29 13:54:05 +01:00
Oliver Kiddle
08e865ed90
41961: new ansible completion
2017-10-29 13:45:41 +01:00
Oliver Kiddle
01523f4145
41958: update util-linux completions to 2.31; new hexdump completion
2017-10-29 13:42:53 +01:00
Oliver Kiddle
85e56b5a48
41957: update git completion for git 2.14.3
2017-10-29 00:07:22 +02:00
Oliver Kiddle
de425db94f
41927: complete "typeset -p"'s optional argument for multi-line output
2017-10-28 23:21:35 +02:00
Christian Brabandt
373538442b
41943: Completion: add --clean for vim
...
Vim since patchlevel 8.0.0716 includes the --clean argument for starting
in a clean mode (only loading defaults.vim and in non-cp mode).
2017-10-20 22:20:28 +02:00
Gautam
ab37774266
41907: further deborphan update
2017-10-16 09:49:16 +01:00
Gautam
82b275d53a
41904: new deborphan and updated xrandr completions
2017-10-16 09:46:14 +01:00
Daniel Shahaf
7c36add497
41833 + 41838: _jq: New completion.
2017-10-13 17:51:29 +00:00
Daniel Shahaf
57cfa8b160
41825/0002: _stat: Complete -x options to zsh/stat's 'zstat'.
2017-10-11 17:50:30 +00:00
Daniel Shahaf
c68cfb1c36
41825/0001: _stat: Only complete 'stat' if it's provided by the zsh/stat builtin.
2017-10-11 17:50:30 +00:00
Oliver Kiddle
61b544a068
41855: completion option updates for OpenBSD 6.2 and handle macOS in rm completion
2017-10-11 01:24:01 +02:00
Oliver Kiddle
a8c2b90810
41854: also complete options for ping on Solaris, Mac OS, NetBSD and OpenBSD and for ping6
2017-10-11 01:23:59 +02:00
Oliver Kiddle
ea7178a624
41853: update options for texinfo 6.5 and complete also for the pinfo info reader
2017-10-11 01:23:57 +02:00
Oliver Kiddle
1a3a07a35f
41849: handle both unexpand and expand in a single function
...
They have some commonalities and using _unexpand dodges around
the clash with the _expand completer.
2017-10-11 01:23:56 +02:00
Oliver Kiddle
04a7dca3b0
41831: fix compset usage in ogg123 completion and tweak where compset -p is a better choice than -P
2017-10-11 01:23:53 +02:00
Peter Stephenson
aeed51fdfc
unposted: rename _expand command completion to avoid clash with completer
2017-10-10 10:01:01 +01:00
Oliver Kiddle
82c26793e4
41827: correct sense of description for ${...:?...} expansion
2017-10-07 23:54:32 +02:00
dana
96006eaa87
41826: dana: fix inaccuracies in completion description wording for parameter expansion flags
2017-10-07 22:42:08 +02:00
Oliver Kiddle
69fcc22dc8
41823: new completions for some GNU coreutils utilities
2017-10-07 22:26:51 +02:00
Noah Pendleton
63271a4b93
41808: _git-cherry-pick: Typo fixes
2017-10-04 22:07:23 +00:00
Oliver Kiddle
9b4962a772
41762: fix for completion in assignment to associative array element
2017-09-28 09:31:35 +02:00
Oliver Kiddle
8ddadb8afe
update mtr completion through mtr 0.92
2017-09-22 18:45:32 +02:00
Oliver Kiddle
3fde9aedd4
update options in tune2fs completion through e2fsprogs 1.43.6
2017-09-22 18:43:31 +02:00
Oliver Kiddle
101fb8dbf8
41732: bring tmux completion in line with tmux 2.5 - removing completion of mode tables
2017-09-22 01:16:53 +02:00
Oliver Kiddle
fde84f9e0b
41729: update options for gnutls completion plus cleanup and rearrange the function
2017-09-18 22:41:13 +02:00
Oliver Kiddle
1051d48bf5
41728: new completion for flac and update options in metaflac completion
2017-09-18 22:38:18 +02:00
Oliver Kiddle
256201eecd
41727: run tidy -xml-config to get HTML options for completion
2017-09-18 22:33:37 +02:00
Oliver Kiddle
c2a189b336
41726: add + and = to option specs taking arguments and update options to 1.7.5
2017-09-18 17:21:16 +02:00
Oliver Kiddle
da085b7a20
update completion of options for util-linux 2.30.1
2017-09-18 15:58:14 +02:00
Oliver Kiddle
b138acf42e
41725: assorted minor updates to completion functions
2017-09-18 15:53:29 +02:00
Oliver Kiddle
b0c12e3771
41724: update ethtool completion for new options
2017-09-18 15:40:42 +02:00
Oliver Kiddle
8e9fe082be
41711: new dconf completion
2017-09-15 20:24:04 +02:00
Oliver Kiddle
c1f789d2aa
41710: new smartctl completion
2017-09-15 18:37:43 +02:00
Oliver Kiddle
9429663af3
41709: update options in Linux sysstat completions
2017-09-15 18:31:11 +02:00
Jun-ichi Takimoto
6401caa183
41628 (plus 41645 by Oliver): _ps: update options
...
also do not reset compstate[insert]
2017-09-09 01:02:23 +09:00
Daniel Shahaf
1e536747ae
41621: _mkdir: Honour the 'command' and 'builtin' precommand modifiers.
2017-09-04 14:05:24 +00:00
Daniel Shahaf
2c4e5c4acb
41620 (tweaked per 41622): _mkdir: Don't offer a linux-specific option in the 'zsh' variant.
2017-09-04 14:05:21 +00:00
Marc Aldorasi
ef9d13c3d1
41637: add explicit objdump completion
2017-09-04 09:33:43 +01:00
Daniel Shahaf
73514c40f6
41567: _tmux: Complete detached sessions first for attach-session.
2017-08-30 00:13:06 +00:00
Daniel Shahaf
1e44c649a4
41566: _tmux: Complete only attached sessions for detach-session.
2017-08-30 00:13:03 +00:00
Daniel Shahaf
eb6c012f64
41564: _tmux: Complete environment variables and their values for set-environment and show-environment.
...
Also, teach show-environment not to offer --options after positional
arguments.
2017-08-30 00:12:07 +00:00
Daniel Shahaf
9a4fb22d89
41557: _tmux: show-environment, set-environment: Make -g,-t mutually exclusive.
...
tmux does not error out on the combination, but it does ignore one of
the two when both are specified.
2017-08-30 00:12:05 +00:00
Daniel Shahaf
383dc2a6f5
41558: _tmux: Complete option names for show-options and show-window-options.
2017-08-30 00:12:02 +00:00
Андрей Стоцкий (_RuRo_)
8b4d2329c7
41618: Added some arguments autocompletion to _todo.sh.
2017-08-29 01:56:17 +00:00
Oliver Kiddle
386eb378a7
41617: complete new tracepath options
2017-08-29 00:41:34 +02:00
Oliver Kiddle
e5c11eb7b5
41616: update completion options to entr 3.8
2017-08-29 00:38:32 +02:00
Oliver Kiddle
92ec72844c
unposted: add missing #autoload directive
2017-08-29 00:32:41 +02:00
William da Silva
dd2e003c8e
41602 (tweaked): Improve wording in gpg completion.
2017-08-25 15:29:36 +00:00
Oliver Kiddle
3fbb80b1d3
41601: handle system differences in arp completion and add function for route
2017-08-25 15:20:10 +02:00
Oliver Kiddle
93ce12e7a0
41600: fix quoting of songs for mpc completion
...
also avoid sending errors to stderr and update completion of options
and subcommands
2017-08-25 15:13:57 +02:00
Oliver Kiddle
86f9edbc9d
41598: new who and w completions
2017-08-25 15:08:30 +02:00
Oliver Kiddle
1472c85412
41568: complete vmstat options on NetBSD and Solaris and add some exclusion lists
2017-08-18 22:25:16 +02:00
Oliver Kiddle
9dee8e00b9
41563: fix completion description alignment with _regex_words
2017-08-18 13:02:18 +02:00
Oliver Kiddle
620b7d61ab
41562: correct completed word
2017-08-18 13:00:10 +02:00
Oliver Kiddle
bcb285dbb6
41561: update dhclient completion
...
handle Free/OpenBSD implementations and bring options up-to-date
for the ISC implementation
2017-08-18 12:56:39 +02:00
Oliver Kiddle
ba6538637e
41560: cleanup chsh completion for different platforms
2017-08-18 12:54:18 +02:00
Tomasz Pala
2b0bc3282f
users/22834: fix irritating bug in file glob for Linux kernel modules
2017-08-17 00:01:01 +02:00
Tomasz Pala
8197af9b9c
users/22834: allow completion after -c and a few other new ip options
2017-08-16 23:58:19 +02:00
Oliver Kiddle
b1a1a34250
41556: complete BPF (libpcap) filters
2017-08-16 23:47:55 +02:00
Oliver Kiddle
f80fe2dfe9
41552: complete only branches after git worktree add --detach
...
the --detach is superfluous for other commits
2017-08-16 23:41:09 +02:00
Daniel Shahaf
5654b905f9
41481: _df: Complete mounted device and mount points.
...
This splits umount's "udevordir" completion from _mount to a new file,
without changing it.
2017-08-08 14:55:02 +00:00
Daniel Shahaf
e2124c4719
41486: _tmux: Correct completions of new-window, split-window, respawn-window, respawn-pane.
...
This follows up to 41467 which patched new-session.
2017-08-08 13:52:04 +00:00
Oliver Kiddle
943a061ea5
41493: fix to not print hash into terminal and update options for git 2.14
2017-08-06 00:28:22 +02:00
Oliver Kiddle
14ff7d39ad
41492: update some options in completions
2017-08-05 16:22:30 +02:00
Daniel Shahaf
623be7199e
41479: _xz: Complete compressed, rather than uncompressed, files after -d.
2017-08-02 14:09:59 +00:00
Daniel Shahaf
17a6eb655d
41475: _git: Complete files after 'reset' when there are no commits, when the 'verbose' style is set.
2017-08-02 14:09:57 +00:00
Daniel Shahaf
06e70fb42d
41474: Fix pbuilder's --distribution,--architecture completion.
2017-08-01 01:08:01 +00:00
Daniel Shahaf
562482a495
unposted: _git: Fix style lookup for 'max-verbose'.
2017-07-31 00:52:49 +00:00
Daniel Shahaf
f183ed66c8
41467: Correct completion of 'tmux new <TAB>'.
...
Reference: window_pane_spawn() in tmux 2.5.
Also, document _cmdstring and _precommand.
2017-07-28 15:49:14 +00:00
Daniel Shahaf
a6f2755448
41471 (tweaked): _svn: Complete propvals in 'propset'.
2017-07-28 15:46:00 +00:00
Daniel Shahaf
4015f3cf5d
41458: _subversion: Don't cache an empty commands list when svn is not available at the first invocation of _svn.
2017-07-28 15:42:42 +00:00
Oliver Kiddle
18c3c12bf0
unposted: correct typo in _xclip
2017-07-26 23:42:38 +02:00
Oliver Kiddle
9e7315ab89
41432: use option grouping in xz completion
2017-07-15 14:55:41 +02:00
Oliver Kiddle
8eaacb3541
41431: update options in assorted completions
2017-07-15 14:53:53 +02:00
Fabian Klötzl
4a63a1793a
41414: fix for commas used in exclusion lists
...
also missing escape for _gcc and --no-index option for git diff
2017-07-14 12:07:49 +02:00
Oliver Kiddle
76a4a5ed3c
41419: update for git 2.13.2
2017-07-14 11:59:31 +02:00
Marcin Mielniczuk
050f752ed2
41409: complete "django startproject"
2017-07-11 09:13:51 +01:00
Peter Stephenson
c5783576e8
41339: Unquote treeish argument for git checkout completion
2017-06-22 10:05:07 +01:00
Jun-ichi Takimoto
01fb569009
41177: _nm: add support for macOS and OpenBSD
2017-06-01 00:11:41 +09:00
Barton E. Schaefer
5ded0ad967
41159: handle "Include" and "HostName" lines in ~/.ssh/config
...
Added 2>/dev/null to conceal file access errors.
2017-05-28 11:27:55 -07:00
Marko Myllynen
dd672b79ce
41087: Update kvno completion to MIT krb 1.14
2017-05-22 15:00:41 +01:00
Marko Myllynen
eacb87988e
41086: Update librt completions
2017-05-22 14:58:49 +01:00
Marko Myllynen
d14686860d
41085: Update OpenStack completions
2017-05-22 14:57:21 +01:00
Jan Kryl
51eff6168e
41095: Use 2>&- in completion to avoide restricted shell problem.
2017-05-08 18:03:05 +01:00
Oliver Kiddle
4228d98c6b
unposted: fix syntax on line end
2017-04-26 16:35:29 +02:00
Oliver Kiddle
78afb218b0
40965: fix for missing local declarations of expl
2017-04-26 16:32:10 +02:00
Jun-ichi Takimoto
d78b02218e
41006: _ls: new optiosns and a few fixes
2017-04-26 13:40:03 +09:00
Daniel Hahler
4fa7c6aecc
40943: __git_recent_commits: prefer recent commit objects
...
Without this "commit to be amended" shows up before "recent commit object
name" with `git commit --fixup`, but the recent commit objects are the
most useful here.
2017-04-23 22:27:38 +02:00
Daniel Shahaf
6cc6942cf5
40973: _remote_files: Fix completion of remote files that start with a hyphen/minus.
2017-04-18 20:14:47 +00:00
Sebastian Gniazdowski
967ff2f5cf
* 40782: avoid dependency on zsh/regex module
2017-04-01 09:43:34 -07:00
Dag-Erling Smørgrav
4850116554
Fix typo breaking kld completion
2017-03-30 12:18:26 +01:00
Alexandre Rames
fc1fedda95
40878: additional stgit squash command completeion
2017-03-24 16:42:51 +00:00
Daniel Shahaf
072e75f9b8
40855: _dmidecode: Fix _arguments syntax error.
2017-03-16 10:42:26 +00:00
Oliver Kiddle
7c662bf4d2
40843: update options for ruby 2.4.0p0
2017-03-14 16:15:33 +01:00
Oliver Kiddle
45d910356a
40842: update completions for coreutils and similar utilities, also improving BSD and Solaris support
2017-03-14 16:13:05 +01:00
Daniel Shahaf
e869952200
40818: _git-checkout: When completing local heads, prefer recently-checked-out ones. (after 38592)
2017-03-14 11:14:14 +00:00
Daniel Shahaf
46233c4020
40817: __git_recent_branches: Retrieve less data, but faster.
...
By replacing the --grep-reflog=needle argument with a ${(M)...:#needle} filter,
we retrieve less data from the reflog, and consequently run (on my test cases)
16% to 40% faster. The trade-off is that we retrieve less data: instead of
retrieving the 1000 most recent 'checkout' operations, we retrieve the most
recent 1000 operations, which would include fewer than 1000 checkout operations.
Also change [[:xdigit:]] to [0-9a-f] since it's faster, however, the absolute
gain from this is minor compared to the cost of 'git reflog'.
2017-03-14 11:14:13 +00:00
Wieland Hoffmann
5fa422b246
40837: for pgrep completion, add -w on Linux
2017-03-12 22:35:20 +01:00
John Leuenhagen
5da6621ffe
unposted (github pull request #15 ): fix a small typo in ip
corrections file
2017-03-11 08:35:20 +00:00
Oliver Kiddle
f862882f82
40824: grep completion handling of option deviations between different systems
2017-03-10 17:38:31 +01:00
Oliver Kiddle
373ad33f44
40823: update option completion for sshfs 2.8
2017-03-10 16:54:21 +01:00
Fabian Klotzl
7276d04934
40808: fix typos where (x,y) should have been (x y) in _arguments syntax
2017-03-09 20:29:27 -08:00
Barton E. Schaefer
9f49864322
40801: re-fix completion of mount points with spaces in the name
...
Turns out that work of art removed by 33963 was necessary after all
2017-03-09 20:29:27 -08:00
Mikael Magnusson
a8345a40b1
40780: Don't use =~ for simple prefix match
2017-03-07 03:20:05 +01:00
Christoffer Aasted
b8b5f18f3f
unposted (via github): complete -Dproperty=/path_complete for ant
2017-03-04 09:31:31 +01:00
Ferenc-
76f2539e20
unposted (via github): Add newer C++ standard options to _gcc
2017-03-04 09:23:11 +01:00
Oliver Kiddle
929fa17a2f
unposted: complete 'tiled' layout for tmux
2017-03-04 01:13:43 +01:00
Oliver Kiddle
cae214551b
unposted: fix completion argument to xz --format
2017-03-04 01:05:51 +01:00
Oliver Kiddle
76a033e2cc
40715: update completion of git options for git 2.12.0
2017-03-04 00:37:04 +01:00
Oliver Kiddle
7fd62f4367
40597: be flexible about order of options to _values
2017-03-04 00:33:20 +01:00
Daniel Shahaf
5a32ced1be
unposted: Port 40617 to the completion.
2017-02-25 09:09:31 +00:00
Oliver Kiddle
4443e021f1
update gphoto2 completion for new options up to gphoto2 2.5.11
2017-02-19 02:22:43 +01:00
Fabian Klotzl
e720f45975
40539: typo in MIPS branch of argument selection
2017-02-13 18:09:10 -08:00
Oliver Kiddle
64c67581d2
40512: new entr completion
2017-02-10 13:56:26 +01:00
Oliver Kiddle
0829c14cbd
unposted: using a colon in the tag name for lsusb completion was not such a good idea
2017-02-10 13:53:37 +01:00
Daniel Shahaf
e3bc63f00e
unposted: _svn: Fix '--show-revs' completion.
2017-02-08 11:55:03 +00:00
Daniel Shahaf
ec1bdab023
40494: _git: Use slashes matchspec for references (as already used for branch names).
2017-02-07 08:43:31 +00:00
Daniel Shahaf
3afd12ae97
40493/0002: _git-checkout: Reorder default completions.
...
The unprefixed name of a remote branch is used to create a new local
remote-tracking branch; that is presumed to be a rarer operation than
either switching among local branches or reverting to the index version
of a modified file.
Between the remaining two, put modified files before tree-ishes because
there are generally few of the former and many of the latter.
2017-02-07 08:43:31 +00:00
Daniel Shahaf
4da5c23dce
40493/0001: _git-checkout: No functional change.
...
This makes the next diff smaller.
2017-02-07 08:43:31 +00:00
Peter Stephenson
e641d8e9c1
40434: Jan Matejek: patchutils completion update
2017-02-06 13:47:40 +00:00
Zhiming Wang
b0073410eb
40450, 40451: Swifth language completion.
...
Also resolve whether this is the openstack "swift" command.
2017-01-29 16:36:24 +00:00
Zach Whaley
ea7b4d4b2d
40200: Updated Perforce completion
2017-01-27 18:05:05 +00:00
Peter Stephenson
c861b17bbf
40391: Add WARN_NESTED_VAR option and functions -W.
...
These are companions to WARN_CREATED_GLOBAL, warning when a variable
from an enclosing scope is altered.
2017-01-23 09:50:57 +00:00
Peter Stephenson
60a4f6cb67
unposted: "autooad ~..." also completes file
2017-01-17 18:03:26 +00:00
Peter Stephenson
2e76fb80b4
40372: turn off POSIX_IDENTIFIERS option in completion
2017-01-16 17:52:51 +00:00
Earnestly
51c5c85c23
40355: _mpc: improve playlist completion
2017-01-13 20:56:47 -05:00
Oliver Kiddle
f22960c8e1
40345: update lsusb completion
2017-01-13 03:52:25 +01:00
Oliver Kiddle
cfc8165bc1
40344: new lsblk completion
2017-01-13 00:52:12 +01:00
Peter Stephenson
12100eb6b9
40332: completion for new autoload features
2017-01-11 21:24:33 +00:00
Daniel Shahaf
b088b67a54
40303: _bts: Add more subcommands.
...
Since 'done' is deprecated, stop offering it but do complete after it.
2017-01-10 03:57:30 +00:00
Daniel Shahaf
ebcc57210d
40302: New _swaks completion (common options only).
2017-01-10 03:37:34 +00:00
Daniel Shahaf
385cb9b9f0
40264: _man: Complete all sections after '-a'.
...
Followup to 37634.
2017-01-05 15:58:17 +00:00
Barton E. Schaefer
044fcbabf1
unposted (see users/22287): _comp_options needs to disable ERR_RETURN
2016-12-27 11:14:27 -08:00
Baptiste Daroussin
5a98e318b0
40210: Add support modern FreeBSD and drop support for FreeBSD < 5
2016-12-18 14:55:57 +00:00
Baptiste Daroussin
8ae20a8589
40209: Fix typo in chflags completion
2016-12-18 14:55:56 +00:00
Daniel Shahaf
03bd5e287f
users/22182: Propagate 22161 docs patch to completion descriptions.
2016-12-10 15:04:22 +00:00
Oliver Kiddle
ece90dae42
40114: complete :/ with other parameter operators
2016-12-08 23:52:19 +01:00
Mikael Magnusson
a43e6e2db4
40107: _mount, _fusermount: fix quoting
2016-12-06 21:15:14 +01:00
Oliver Kiddle
f65283e1ad
40055: update git completion for git 2.11.0
2016-12-01 21:50:47 +01:00
Oliver Kiddle
7d80b14702
40053: exclude current directory of active zsh from _external_pwds ompletion matches
2016-12-01 21:45:04 +01:00
Mikael Magnusson
1ba59c4147
unposted: fix previous commit
2016-12-01 03:58:13 +01:00
Mikael Magnusson
989f5e590c
40024: Update _path_files since quoting requirements changed in 39412
2016-12-01 03:42:32 +01:00
Daniel Shahaf
f90200c869
40036: _bts: Complete removal syntaxes correctly.
...
The incumbent pattern matched the minus in 'bts tag 42 - <TAB>' (and other,
similar subcommands).
2016-11-30 16:10:20 +00:00
Eitan Adler
110ffae9fe
40035: Cosmetic fixes for comments and documentation.
...
Mostly fixes to doubled words.
2016-11-29 17:13:52 +00:00
Daniel Shahaf
3a83e481ab
unposted: Complete the $foo[(f)] flag.
2016-11-29 06:41:22 +00:00
Daniel Shahaf
a74294edbe
unposted: _git-config: Fix user.email completion to complete only bare email addresses.
2016-11-29 06:41:21 +00:00
Daniel Shahaf
1955cceec7
40011: Make $_comp_priv_prefix only declared when required, and use that to have chgrp offer all groups under doas, ssh, etc as well.
2016-11-28 07:16:39 +00:00
Daniel Shahaf
eccb7471b5
39757 plus test: Fix completion under parenthetical directory names, broken in 39412
2016-11-27 15:12:00 +00:00
Jun-ichi Takimoto
53e6b12bdf
40013: process zsh-specific time format extensions correctly
2016-11-26 16:36:21 +09:00
Oliver Kiddle
a7f5db14b3
40020: new cscope completion
2016-11-25 23:05:54 +01:00
Laurent Arnoud
e34045819d
40018 + 40019: Add missing commands to Debian apt completion
...
Upstream ref
5aba18968d
2016-11-25 17:02:21 +00:00
Oliver Kiddle
5beb65a0f7
unposted: fix typo (=+ to +=)
2016-11-24 16:20:43 +01:00
Oliver Kiddle
8ec1a25994
40004: fix cache mechanism, complete groups and other minor improvements
2016-11-24 16:11:55 +01:00
Jun-ichi Takimoto
fe2d87767d
40005: call _date_formats from _date
...
also update both files for darwin etc.
2016-11-24 21:33:15 +09:00
Oliver Kiddle
fe67ccacf1
39974: complete shared libraries for -e and -s options to ssh-add
2016-11-20 23:59:35 +01:00
Daniel Shahaf
df8d219da3
39916 + 39930 + tweak: _git: Complete options and values for -c.
...
The "$@" in the option-names call is added in order to propagate the new (-S =) arguments.
This bifurcates _git-config() in order to provide completion for
% git -c <TAB>
% git -c foo=<TAB>
2016-11-18 02:11:05 +00:00
Daniel Shahaf
297471cf77
39921: __git_recent_branches: Remove erroneous parsing of partial ref names as tags.
...
In the reflog, partial ref names in the "from" field always represent names of
heads. (That is not true for the "to" field.) The parsing of tag names was
added in commit 39102 (317c96b64f
) for equivalence
with the then-previous implementation which used `git log $partial_ref_name`.
The equivalence was correct, however, the then-previous implementation was not,
since it would consider $partial_ref_name as a refs/tags/ name if a refs/heads/
name did not exist.
2016-11-17 15:32:05 +00:00
Daniel Shahaf
d7b57cc957
39922: __git_recent_branches: Fix an 'assertion' failure when two branches (refs) point to the same commit.
2016-11-17 15:32:04 +00:00
Daniel Shahaf
307da989d8
39917: Complete setsid(1) as a precommand
2016-11-17 15:32:04 +00:00
Oliver Kiddle
7d2f805008
39945: allow further tab presses to move on to menu completion even when compstate[insert] is emptied
2016-11-16 09:42:49 +01:00
Paul Seyfert
2ba985fe5b
39920: extend yum completion
...
adding the following yum commands:
* update-to (just what update expands)
* upgrade-to (just what update expands)
* history (the actual tricky one)
* help (printing the available commands)
* load-transaction (_files)
* load-ts (_files)
* check (just what the man page suggested)
* reinstall (just what erase does - suggest installed packages)
* downgrade (just what erase does - suggest installed packages)
* repolist (just what the man page suggested)
* distribution-synchronization (just what erase does - suggest installed packages)
* distro-sync (just what erase does - suggest installed packages)
A few history commands don't get expanded.
Taken from the man page of yum 3.2.29.
Reindented file.
2016-11-12 02:40:49 +01:00
Oliver Kiddle
370b278565
39890: typo corrections in completion functions
2016-11-09 16:55:14 +01:00
Oliver Kiddle
496626ddb8
39888: update tmux completion for tmux 2.3
2016-11-09 16:55:14 +01:00
Daniel Shahaf
d8786da0cd
39853: _subversion: Accept long options in the '--foo=bar' syntax.
2016-11-09 04:06:23 +00:00
Jun-ichi Takimoto
dfb2f3f3d2
39857: add support for darwin, with improvements on linux etc.
2016-11-08 21:49:33 +09:00
Peter Stephenson
5411cdf378
39856: module completion improvements.
...
Follow symbolic links when finding.
Use _multi_parts for paths when completing modules.
2016-11-07 14:49:00 +00:00
Jun-ichi Takimoto
0921a3537a
39855: new completion for jot command
2016-11-07 19:29:52 +09:00
Daniel Shahaf
bb28726fa5
39840: _cpio: Declare variable's type correctly.
2016-11-07 05:21:19 +00:00
Frank Terbeck
06bd2b1c85
39849: _tmux: Remove set-remain-on exit
...
This was removed recently, since it was superseded by hooks.
2016-11-07 00:04:07 +01:00
Frank Terbeck
c2649189cb
39848: _tmux: Update options to latest tmux
2016-11-06 23:18:28 +01:00
Barton E. Schaefer
c282abc6bd
Thomas Bereknyei, Mic92: 39831: find "getent" by the usual command search, not just /usr/bin/
...
Also tweak the replacement getent to handle /etc/hosts format.
2016-11-06 00:00:38 -07:00
Oliver Kiddle
5c28031ea6
39834: when print used with -v and -l, include a final newline
...
Also complete print -S option and make further use of the
new printf to an array feature in other completion functions.
2016-11-05 00:31:01 +01:00
Oliver Kiddle
4b41e33cbc
39389: when printf -v is used with an array use separate elements each time the format is reused
2016-11-05 00:27:47 +01:00
Oliver Kiddle
6ea4e708ba
39818: _awk: add nawk to the list of commands
2016-11-04 10:02:33 +09:00
Barton E. Schaefer
ad085f1dec
unposted: fix typo that was causing handling of "--" argument to fail
2016-11-03 09:13:03 -07:00
Daniel Hahler
d90775fc29
39822: _git: remove "-A '-*'" with _arguments for some commands
...
With e.g. `git rebase origin/master` you can have options like
`--no-autosquash` after the argument.
I have tried the commands where this patch removes `-A`.
Commands like `git fetch-pack` that do not support options after
arguments are left unchanged.
2016-11-03 16:41:42 +01:00
Barton E. Schaefer
4bc0d13911
39797: obsolete the helper functions fixed by the previous two changes
...
Replacing them with the new ${var:P} modifier.
Previous deltas may be useful for backport to zsh 5.2 and before.
2016-11-01 12:45:24 -07:00
Jun-ichi Takimoto
4eed68e0bf
39731: _awk: add support for gawk ver.3 and 4
2016-11-01 19:21:05 +09:00
Barton E. Schaefer
0a5aea375d
39795: preserve "cd -" behavior around directory shuffling in _canonical_paths_pwd
2016-10-31 14:57:33 -07:00
Barton E. Schaefer
59dbab4f1c
39792: improve handling of relative paths in _canonical_paths_add_paths
2016-10-31 12:14:23 -07:00
Daniel Shahaf
dd8b756610
_git-cherry-pick: Complete argv[2] et seq.
2016-10-29 03:03:28 +00:00
Daniel Shahaf
85ffb55e99
39739: Complete negative integers for -n/-c in the GNU variant. (after 39479)
2016-10-27 15:59:43 +00:00
Daniel Shahaf
71dd0ab62e
39706: _tilde_files: Offer named directories. Document.
2016-10-24 00:53:45 +00:00
Daniel Shahaf
4eef3e6f0e
39708: Document _email_addresses.
2016-10-24 00:53:36 +00:00
Barton E. Schaefer
8e3e727933
39710 (cf. Alex George: 39709): handle the %o format in the "all-expansions" tag
...
Also allow a single unique match to appear in the "expansions" tag of _expand in the same way as _user_expand (users/21955 commit 18200dc0
)
2016-10-22 21:53:21 -07:00
Daniel Shahaf
ecc0a5ece2
39654: (based on patch by Baptiste Daroussin) Better support bmake, FreeBSD's default make(1) implementation.
...
Don't pass gmake options to bmake.
Add bmake-speciic codepath for completing targets and parsing the makefile.
2016-10-18 01:39:45 +00:00
Daniel Shahaf
ae3b675ce6
39657: _zstyle: Complete the -g, -s,-b,-a, -t,-T, -m options.
2016-10-18 01:34:53 +00:00
Daniel Shahaf
713857cea0
39657: _zstyle: When completing a style for an unrecognised context, complete all known styles.
...
Previously, vcs_info styles weren't completed.
2016-10-18 01:34:52 +00:00
Daniel Shahaf
13cfa036c8
39657: Make a helper function global.
2016-10-18 01:34:52 +00:00
Oliver Kiddle
87965e5e02
39624: remove space before compdef that prevents yafc completion function being used plus other tweaks
2016-10-14 11:39:14 +02:00
Oliver Kiddle
17f9d6b521
39623: new evince completion
2016-10-14 11:32:34 +02:00
Matthew Martin
c40226022a
39533: add the new -L option, sort options and add some exclusions
2016-10-13 09:56:57 +02:00
Daniel Shahaf
59a67b31b0
39489: _path_files: Interpret -P as literally, rather than as a pattern.
...
Follow-up to the last commit.
2016-10-07 13:59:06 +00:00
Daniel Shahaf
7ad0001183
39479 + 39481 minus _path_files hunk (see 39489): Completion: audit 'compset -P' calls to use shortest match where applicable, plus random drive-by tweaks.
...
Found by grepping for patterns that can match needles of various lengths:
:grep 'compset -[PS].*[\#^*()\|<>?~\]' Completion/
2016-10-07 13:56:31 +00:00
Daniel Shahaf
dfc9214984
39480: _reportbug: Complete absolute filenames, too.
2016-09-30 23:15:57 +00:00
Oliver Kiddle
13d0b278be
39514: pass on --git-dir when calling git to get completion matches
2016-09-30 09:57:50 +02:00
Oliver Kiddle
573895dd60
39513: new doas completion
2016-09-30 09:57:33 +02:00