1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-15 02:11:07 +02:00
Commit graph

4565 commits

Author SHA1 Message Date
Marlon Richert
587cced35d 48513: Let extra-verbose completion show parameter values 2021-04-16 23:36:03 +02:00
Oliver Kiddle
455bab1ef6 48556: new completion for ipfw 2021-04-16 23:24:15 +02:00
Marc Chantreux
82ba2261ab 48466: correct indentation and remove tabs and trailing spaces 2021-04-11 21:32:18 +02:00
Marc Chantreux
80d5210195 48445: pluralize tags in _surfraw 2021-04-11 21:05:39 +02:00
Marc Chantreux
90352a8278 users/26645: update options in gv completion 2021-04-11 20:49:30 +02:00
dana
7269bc1ac4 48338: _git: Support case-insensitive path matching 2021-04-10 15:54:26 -05:00
Oliver Kiddle
eaff11c748 48378: complete compadd options for other completion functions 2021-04-09 21:53:41 +02:00
Oliver Kiddle
f3caff1536 48437: fix pid completion when cursor is in the middle of the line 2021-04-09 21:51:31 +02:00
Jun-ichi Takimoto
62e86515e7 48416: update _gcore for macOS and GNU 2021-04-08 22:24:52 +09:00
Daniel Shahaf
295fbc0998 48321 (tweaked per thread): _perl_modules: Don't assume ${words[1]} to be either "perl" or "perldoc"
Also, correct an always-true condition guarding the fallback @INC
codepath.
2021-04-08 02:17:08 +00:00
Marc Chantreux
ccc7ff90a4 users/26579: changes from review including parameter expansion to replace awk 2021-04-06 14:42:07 +02:00
Oliver Kiddle
2c000ee7ba 48414: quote closing bracket to adapt for change in 43928 2021-04-06 14:20:32 +02:00
Jacob Gelbman
7a81e6344f 48218 (+ 48354): various improvements for _gcc 2021-04-04 13:39:32 +09:00
Caleb Maclennan
3afdfef31c github #74: Drop vcsh completions, maintained upstream
See discussion on upstream project here:

https://github.com/RichiH/vcsh/issues/270
2021-03-31 12:16:34 +02:00
Marlon Richert
07a30613f0 48214: add file types to _expand completions, so they can be colored through complist 2021-03-31 01:20:36 +02:00
Syphdias
5d0bb152ef 48192: Fix _openstack completion for new style clients 2021-03-31 01:16:25 +02:00
Marc Chantreux
7518b20a01 users/26557: add bookmarks support and remove the header from the final list in surfraw completion 2021-03-31 01:16:21 +02:00
dana
2ffd292833 47737: _zstyle: Fix option completion when positional arguments are already present (regression from workers/39659 (commit ae3b675ce6))
The following case:

    LBUFFER='zstyle -'
    RBUFFER=' foo bar'

Before this patch, completed 'context pattern' (from the first
positional argument).

With this patch, completes options, which is correct.
2021-03-29 13:44:44 +00:00
Jacob Gelbman
ab166725dd 48166: add completion for ctags language options 2021-03-29 00:50:42 +02:00
Arseny Maslennikov
e469b8c4e3 48210: Introduce new completion for setpriv(1) on Linux 2021-03-28 12:47:36 +02:00
Arseny Maslennikov
14709db6d6 48212: Introduce new completion for Linux task capabilities 2021-03-28 12:27:12 +02:00
Štěpán Němec
42de9318f1 48231: add missing git --pretty formats and improve descriptions 2021-03-28 10:49:34 +02:00
Oliver Kiddle
d7c8d6826d 48230, 48233 (Jun T): completion of dtrace probes and runtime options 2021-03-28 10:38:13 +02:00
Marlon Richert
f4a248f9d3 48180: Start menu selection with select=long-list in menu style 2021-03-17 12:50:57 -05:00
Jacob Gelbman
5ede2c55f1 48105: Update ctags completion with format fix 2021-02-24 09:24:37 +00:00
Jacob Gelbman
055ce78401 48096: New ctags completion 2021-02-23 10:10:34 +00:00
Oliver Kiddle
d909dc7323 unposted (Daniel): add exclusion list missed in recent OpenBSD update to locale completion 2021-02-13 01:15:10 +01:00
taiyu
3714ee0b58 github #68: support section suffix completion for man pages
Support prepend and suffix values for insert-sections
Add values for insert-sections for zstyle completion
2021-02-13 01:01:40 +01:00
Oliver Kiddle
073092f89d 47944: update completions for NetBSD 9 2021-02-08 00:40:10 +01:00
Oliver Kiddle
25d69da85c 47943: update completions for DragonflyBSD 5.8.3 2021-02-08 00:06:57 +01:00
Oliver Kiddle
2edac834a8 47932: update completions for procps 3.3.16 2021-02-07 02:54:21 +01:00
Oliver Kiddle
b17449352e 47931: update completions for OpenBSD base up to 6.8 2021-02-07 02:37:45 +01:00
Oliver Kiddle
509e84ef44 47930: update completions for FreeBSD base up to 12.2 2021-02-07 02:13:10 +01:00
Oliver Kiddle
ceb25d9495 47929: complete newer possible values for the sort style 2021-02-07 01:52:40 +01:00
oxiedi
2b2353fc8f based on github #62: return proper exit status 2021-02-07 01:27:23 +01:00
DCsunset
f59b6f6df3 github #66: Add more commands to _todo.sh 2021-02-07 01:02:10 +01:00
oxiedi
df7fd1322c github #63: fix regression caused by 44274, with sort style -o could break _values 2021-02-07 00:51:41 +01:00
Semnodime
ed160f268a github #72: Fix unix command lldb tab-completion
The --arguments are space (` `) separated, not equal-sign (`=`) separated.
lldb --correct c_arg --wrong=w_arg
2021-02-07 00:25:24 +01:00
aaaz
645c89af6d gitlab !16: Allow spaces between short options and their parameters in _transmission
This matches the summary listed in the `transmission-remote` man page and the program's actual behavior.
2021-02-07 00:10:41 +01:00
Oliver Kiddle
4bea58d0c4 47919: use common function for completing BSD login classes
also update for options to env on FreeBSD and Dragonfly
2021-02-06 00:23:20 +01:00
Oliver Kiddle
ba48357315 47918: new util-linux completions for nsenter and unshare 2021-02-06 00:05:48 +01:00
Jun-ichi Takimoto
93c4cc0d8f 47883: _awk: support gawk ver.5 2021-02-01 09:40:34 +09:00
Peter Stephenson
8f42ecd8ee 47873: Improve completion within dynamic directory names 2021-01-27 11:16:55 +00:00
Paul Seyfert
07765d5901 github #71: _xrandr: Complete providers
* complete `xrandr --setprovideroutputsource` by calling `xrandr
   --listproviders`
2021-01-24 13:32:05 -06:00
Oliver Kiddle
2644e3097d users/26107: complete changed files after git diff HEAD 2020-10-29 21:44:19 +01:00
Mikael Magnusson
8773f01f2b 47494, 47495: Add -n option to strftime 2020-10-25 23:06:02 +01:00
Meng Bo
59a451abae github #65: _nmap: Rename option flags (s/_/-/g)
Nmap commands that previously included an underscore (--max_rtt_timeout, --send_eth, --host_timeout, etc.) have been renamed to use a hyphen in the preferred format.
2020-09-23 11:00:54 +00:00
Jacob Menke
794edac638 47395: _store_cache: Don't leak the variable ${_cache_dir}. 2020-09-22 07:10:51 +00:00
Bart Schaefer
63b6398b70 47364: Enable extendedglob in pattern with ${(*)name/pattern/replacement}
Mikael Magnusson: 47382: Completion for 47364
2020-09-13 16:19:52 -07:00
Doug Kearns
0673212f42 unposted: remove periods from completion descriptions
As per the completion-style-guide recommendations.
2020-09-06 03:42:33 +10:00
Peter Stephenson
17ee9c5f68 47350: new dropbox command line client completion 2020-09-04 19:56:27 +01:00
Oliver Kiddle
edb5459d61 47322: allow prefix with ssh cipher completion and add matching control for options 2020-08-21 17:41:08 +02:00
Daniel Shahaf
e14e899ab9 47323: _rpmbuild: Complete file arguments after -r/-b/-t. 2020-08-18 13:30:07 +00:00
Mikael Magnusson
841188439b 47306: edit-command-line: add editor style 2020-08-16 18:04:43 +02:00
Mikael Magnusson
b959ec790e 47304: _globflags: support specifying more than one flag where appropriate 2020-08-16 18:04:43 +02:00
Jörg Sommer
8becb89357 47320: Add completion for Linux tool used to adjust process OOM score 2020-08-13 22:19:02 +02:00
Oliver Kiddle
90e1f5d541 47321: update completion for btrfs 5.4 2020-08-13 22:13:22 +02:00
Oliver Kiddle
478d38006a 47319: complete more options to ImageMagick's convert command 2020-08-13 22:09:16 +02:00
Oliver Kiddle
4c3d047161 47294: updates to options in aptitude completion 2020-08-10 13:03:26 +02:00
Oliver Kiddle
394c55709e 47293: lowercase completion descriptions for lp 2020-08-10 13:01:24 +02:00
Mikael Magnusson
a1f9b1324d unposted: fix syntax errors in recently added completers 2020-08-08 00:41:15 +02:00
Mikael Magnusson
6f4cf79140 46280: compinit: add -w to explain why compdump runs 2020-08-05 14:19:14 +02:00
oxiedi
2516da75a9 github #61: _parameters: Don't leak the variable $i 2020-07-14 18:16:41 +00:00
Oliver Kiddle
781129b838 46216: update for ansible 2.9 2020-07-08 23:54:38 +02:00
Oliver Kiddle
5a34b68ae2 46217: update options for tmux 3.1 2020-07-08 23:52:37 +02:00
Mathias Fredriksson
aa60dd320f github #60: Fix completion for a zfs dataset containing spaces 2020-07-08 23:46:37 +02:00
Doron Behar
02f62e5d21 gitlab !15: modutils completion: Fix FHS assumption
Remove calls to programs from /sbin/ with _call_program and to avoid the
system complies to the FHS.
Support modules completion for NixOS and Guix which store their kernel
modules not at /lib/modules.
2020-07-08 18:07:39 +02:00
Oliver Kiddle
389c853b4a 46195: use showrgb command to get colours if it is available 2020-07-08 17:40:42 +02:00
SATOH Fumiyasu
a0a27473fe github #50: Complete hosts in "Match" directive 2020-07-08 17:25:20 +02:00
James Pike
dc8061ebe4 github #53: Allow specifying directory name for _remote_files 2020-07-08 17:20:10 +02:00
zsugabubus
19390a1ba8 46097: Fix "assignment to invalid subscript range" error in _rm.
See 46090 for details.
2020-06-28 13:08:00 +00:00
Daniel Shahaf
a4b4a3a7c7 46131: _git-config: Partly fix a bug whereby a 'foo.ba<TAB>' wouldn't be completed to 'foo.bar.baz'.
Now it properly gets completed, but in the case of gpg.openpgp.program,
the description would be shown as "unknown option name", that being the
description of gpg.*.program via `git help -c`, which shadows the
more description of gpg.openpgp.program in $git_options.
2020-06-28 13:01:09 +00:00
Daniel Shahaf
1776422438 46128: _git: Complete more options and diff/merge tools. 2020-06-28 13:01:09 +00:00
Daniel Shahaf
5584badbea 46129: _git-config: Fix a bug where a second trailing dot would be incorrectly offered. 2020-06-28 13:01:09 +00:00
Daniel Shahaf
c1c1fb9b2c 46130: _git-config: Complete some more options. 2020-06-28 13:01:09 +00:00
Miroslav Koškár
c74b3c8919 46140: _git: Fix insufficiently quoted pattern 2020-06-27 20:35:08 +00:00
Miroslav Koškár
d839833e4e 46139: _git: Remove hanging whitespaces 2020-06-27 20:32:39 +00:00
Oliver Kiddle
d14a924c37 unposted c.f. 46034: workaround incompatibility with sh_file_expansion option 2020-06-26 00:46:00 +02:00
Oliver Kiddle
858ddcbd6e 46106: new usbconfig completion 2020-06-26 00:34:37 +02:00
Oliver Kiddle
9ec69989bb 46105: new xinput completion 2020-06-26 00:34:36 +02:00
drelo
eec1c48a91 46075: drelo: prefer ip on linux for finding network interfaces 2020-06-26 00:34:36 +02:00
oxiedi
c4540e154f 45895: ignore deduplication patterns in _sequence 2020-06-26 00:34:33 +02:00
Daniel Shahaf
8bd46bf2a2 46044 (tweaked per Matthew): _units: Correct the path to the units data file on Debian with units 2.00 and newer and on FreeBSD. 2020-06-19 15:32:34 +00:00
Frederick Zhang
1939db10af 45982: _zfs: add space property 2020-06-17 09:59:58 -04:00
Jan Máslo
dc5dfd19a2 gitlab !12: completion for mat & mat2 2020-06-11 22:46:49 +02:00
Oliver Kiddle
1ee8ecd8ea 46036: fix colouring in prompt completion 2020-06-11 22:34:41 +02:00
Oliver Kiddle
cce88bdb0c users/24892: fix local declaration with recursive-files style and complete it for zstyle 2020-06-11 22:31:44 +02:00
Doron Behar
aa7b62e3fa gitlab !14 (fixup): modutils comp: Fix getting the value of kver from opt_args 2020-06-08 06:23:05 +00:00
Matthew Martin
c479107f70 45940: Add _kdump and _ktrace completers and supporting _ktrace_points type 2020-06-01 21:18:25 -05:00
Matthew Martin
7ec05332a2 45939: Add _pgids type 2020-06-01 21:18:23 -05:00
Doron Behar
56fffd5482 gitlab !14: modutils completion: Fix getting the value of kver from opt_args
To get the _value_ of either of the options -S, -k or --set-version,
the (i) subscript flag is not needed.
2020-06-01 08:21:39 +00:00
Yasuhiro KIMURA
911500d3be 45934: _subversion: Make 'svnliteadmin' completed same as 'svnadmin'
In FreeBSD base system svnadmin is installed as 'svnliteadmin'. So
make 'svnliteadmin' completed same as 'svnadmin'.
2020-05-28 21:53:21 +00:00
Matthew Martin
53052335b9 45831: Add _vi completer 2020-05-17 15:18:26 -05:00
noraj
494f6bcb3c gitlab !13: tar supports zstandard (zstd)
Problem

Variants of tar based on libarchive or GNU tar can support extracting
zstd based files.

Solution

Add this type of to _tar_archive.

From noraj <gitlab@mg.gitlab.com>
2020-05-09 18:59:03 -07:00
Eitan Adler
d9ad7e6b89 unposted: libarchive tar can extract zip files
Problem

Variants of tar based on libarchive can extract zip files but
`tar xf <tab>` does not complete this type of file.

Solution

Add this type of to _tar_archive.
2020-05-07 20:03:39 -07:00
Daniel Shahaf
8498f8864e unposted: Use alternation patterns rather than brace expansion
(Cf. discussion on GitLab !12.)
2020-05-07 22:23:26 +00:00
Jun-ichi Takimoto
0e6ccfdb2b 45614: update _dnf 2020-05-03 18:28:34 +09:00
Daniel Shahaf
d128bc0bd4 45731: _debsnap: New completion function. 2020-05-03 01:29:05 +00:00
Daniel Shahaf
deca7c9285 45730: _arguments: Add the -0 flag, which makes $opt_args be populated sanely.
Also, write/extend docstrings for sepjoin() and zjoin().
2020-05-03 01:27:36 +00:00
Daniel Shahaf
57a3a9a746 45752/0002: _gcc: Complete --output like -o. 2020-05-02 00:48:30 +00:00
Daniel Shahaf
071d7956e6 45752/0001: _gcc: Add .cpp and .hpp to the ignored extensions list. 2020-05-02 00:48:30 +00:00
davey hathorn
013c87e3f3 github #54: Fix dig completion error 2020-04-21 00:26:59 -05:00
dana
c70d734363 45655: _retrieve_mac_apps: Update for recent macOS 2020-04-05 20:09:10 -05:00
Daniel Shahaf
51091e19cd 45649: completion: Simplify Unison completion. No functional change. 2020-03-29 20:56:20 +00:00
Henri Menke
83f7dc7806 45646: completion: Unison: Honour the $UNISON variable
By default Unison uses the ~/.unison directory to store its cache and
profiles.  However, this location is configurable through the $UNISON
environment variable.  Quoting from the manual [1]:

> If the environment variable UNISON is defined, then its value will be
> used as the name of this directory.

This patch enables users to move the .unison directory and still enjoy
zsh completion for profiles.

[1] https://www.cis.upenn.edu/~bcpierce/unison/download/releases/stable/unison-manual.html#unisondir
2020-03-29 20:17:29 +00:00
Gastón Haro
a6610c4a17 github #46: _git-restore: Complete arguments to the --source option after a '=' sign 2020-03-28 22:49:41 +00:00
Gastón Haro
f306221674 github #46: Better restrict git-restore(1) file completions
Add support to the -S and -W options.

Remove the facility for completing files from the tree specified by the
--source argument since, upon testing in git 2.26.0, that doesn't seem
to be correct behaviour.  (Note git-restore(1) says the command is
experimental and its semantics may change.)  See discussion on the PR
for details.
2020-03-28 22:49:41 +00:00
Daniel Shahaf
36df1e4f78 45623: _quilt: Add subcommand descriptions 2020-03-27 01:14:42 +00:00
Daniel Shahaf
174aedcf7f 45622: _quilt: Categorize subcommands 2020-03-27 01:14:42 +00:00
Daniel Shahaf
a30da73187 45572: _sshfs: Complete some more options 2020-03-17 14:03:50 +00:00
dana
754658aff3 unposted: _git: Fix copy/paste error in earlier commit that broke git stash drop
This was broken by workers/44923 (8aa84bd5fc)
2020-03-13 09:46:14 -05:00
dana
cb7aadfd2a 45535: _lz4: Order compression levels numerically 2020-03-13 09:38:25 -05:00
dana
c2e46ee43b 45534: _hdiutil: Update image-file extensions, image/disk formats, &c. 2020-03-13 09:38:23 -05:00
dana
3f7b81e24e 45531: _sh: Complete options more accurately
Committing without handling of +x option variants (line 10) pending resolution
of workers/45422
2020-03-13 09:37:37 -05:00
dana
359e0dae2b 45424: completion: Add **/sbin to PATH when completing commands like sudo
* Update _command_names to add **/sbin to PATH when not otherwise overridden
  and _comp_priv_prefix is set. This ensures that, on systems where
  unprivileged users don't have **/sbin in their PATHs, we can still complete
  those commands when they try to run them with e.g. sudo

* Update functions for privilege-gaining commands to use the aforementioned
  mechanism

* Fix some other minor issues in _pfexec and _doas

Changes from the posted diff:

* Fix a minor redundancy in _doas

* Add _c_p_p=( '' ) hack to _su
2020-03-11 16:26:41 -05:00
Romain Porte
0d7f888945 45524: Add completion for dscverify(1) from Debian's devscripts. 2020-03-10 15:31:24 +00:00
Daniel Shahaf
6fc8e8628f Merge remote-tracking branch 'origin/master' into 5.9
* Test/D02glob.ztst:
  On the "unreadable directories can be globbed (users/24619, users/24626)"
  test, resolve conflicts by removing the Cygwin-only skip that has been added
  in master, since the test is passing on this branch.  This effectively reverts
  workers/45492.  See discussion starting in workers/45504.

* origin/master:
  unposted: Remove 'sgi', as that OpenBSD port has been discontinued.
  45509: fix typos in B01cd.ztst
  45490 (+45495 and a test): refactor rlimits.c
  github #49: Fix typo: longson should be loongson
  users/24710: Fix job control problem with sudo.
  45492: skip test added by users/24633 on Cygwin
  45488: COMP_WORDS for bash need "$@"-style quoting
  45487: Missing mod_export declarations for AIX
  45447: Complete vcs_info_hookadd and vcs_info_hookdel. Expose _vcs_info_hooks as a top-level helper function.
  45463: test: kill: Document why we use SIGURG
  45453: builtins: kill: Do not signal current process group when pid is empty
  45452: builtins: kill: Add `kill ''` regression test with explicit sigspec
  45451: builtins: kill: Add basic test suite
  github #48/0002: vcs_info git: properly detect bare repositories
  github #48/0001: vcs_info git: avoid warnings in bare repositories
  unposted: Post-release version bump
  unposted: Release 5.8
  CVE-2019-20044: Update change log for preceding commits
  Update NEWS/README
  Add unsetopt/PRIVILEGED tests
  Clean up error-message white space
  Improve PRIVILEGED fixes (again)
  Improve PRIVILEGED fixes
  Drop privileges securely
  unposted: V01zmodload: Fix failing test from workers/45385
  45423: _su: Improve arg handling, shell look-ups
  unposted: _zip: Recognise '--'
  45385: Add a test for 'zmodload -Fa' preemptively disabling ("blacklisting"?) features.
  unposted: Test release: 5.7.1-test-3
  zsh/system: Fix infinite loop in sysread
  _diff_options: Restore -w completion lost in workers/43351
  unposted: Fix ChangeLog typo.
  45368: Add tests for workers/45367's issue about double slashes in 'cd -P' and /home/daniel/in/zsh.
  45373: Fix ERR_EXIT bug in else branch of if.
  45372: Record a symlink loop bug involving :P
  45365: _git: Fix __git_recent_branches for the case when a commit has an empty message
  45343: Queue signals around arithmetic evaluations
  45344: Document where third-party completion functions should be installed.
  45345: internal: ztst.vim: Fix highlighting of zsh comments in test payload
  unposted: internal: Add some comments and fix indentation.  No functional change.
  45340: internal: Document the difference between paramtab and realparamtab.
  45332: _git: add completion for git-version
  _brace_parameter: add missing \

Conflicts:
	ChangeLog
	Test/D02glob.ztst
	Test/V01zmodload.ztst
2020-03-07 21:36:46 +00:00
Daniel Shahaf
dd50f125b5 unposted: Remove 'sgi', as that OpenBSD port has been discontinued.
See https://www.openbsd.org/sgi.html and discussion on github PR #49.
2020-03-06 14:00:34 +00:00
Bryan Irvine
2f419b332d github #49: Fix typo: longson should be loongson 2020-03-05 15:44:12 +00:00
Marc
f7c6a0008b 45488: COMP_WORDS for bash need "$@"-style quoting 2020-02-25 09:55:28 +00:00
Daniel Shahaf
50df0e0bb9 45447: Complete vcs_info_hookadd and vcs_info_hookdel. Expose _vcs_info_hooks as a top-level helper function. 2020-02-19 10:18:30 +00:00
dana
dd523255cc 45423: _su: Improve arg handling, shell look-ups
Differences from ML post:

* Properly fix escaping issue with $usr (needs unescaped first)

* Make $shell emptiness check easier to read (per feedback)
2020-02-14 09:42:12 -06:00
dana
8037462895 unposted: _zip: Recognise '--' 2020-02-07 14:05:48 -06:00
Martin von Wittich
1f238665f6 _diff_options: Restore -w completion lost in workers/43351 2020-02-06 13:24:00 -06:00
WGH
e71ba9704f 45365: _git: Fix __git_recent_branches for the case when a commit has an empty message 2020-02-02 07:32:14 +00:00
Eitan Adler
e626f57613 45332: _git: add completion for git-version
Signed-off-by: Eitan Adler <lists@eitanadler.com>
2020-01-19 23:32:37 +00:00
Mikael Magnusson
387247864e _brace_parameter: add missing \ 2020-01-19 16:11:14 +01:00
Daniel Shahaf
bcd78756c8 45313: _git: Support completion from outside of a worktree when --git-dir/--work-tree are specified on the command line
Revised version of workers/41523.
2020-01-17 21:52:45 +00:00
Daniel Shahaf
e899c21863 Merge remote-tracking branch 'origin/master' into 5.9
Right now, as we're preparing to tag the 5.8 release, the 5.9 branch is
maintained as a topic branch off master.

* origin/master:
  45287: zshexpn: Describe parameter elision and add some introductory prose
  45302: bin_umask(): Queue signals around umask().
  users/24656: docs: Add an example of setting and querying zstyles
  users/24659: Cross-ref doc for matchers.
  45296: D02glob: Clean up after test from users/24633
  45290: New helper script for listing XFail tests.
  users/24633: Add an xfail test for users/24619.
  unposted: additional typo fix
  45280: _git: add -local variants
  users/24628 (fixed): More doc for selectw-word-style widgets.
  45266: Fix losetup completion, broken in da085b7a20 (41720).
  unposted: Fix punctuation.
  use /dev/fd on Cygwin for process substitution
  unposted: Two additional typo fixes.
  Fix typos reported by codespell in shell code
  Fix typos reported by codespell in Src/
  45269: Fix misspellings in completions and elsewhere.
  45261: _gcc: Detect clang-as-gcc
  unposted: internal: Remove Vim modeline that interferes with ztst.vim.
  unposted: internal: ztst.vim: Use :syn-sync to work around (#x) and "`\\\\\\\\`" confusing the highlighting.
  unposted: internal: zyodl.vim: Support glob qualifiers in example()'s
  unposted: internal: zyodl.vim: Support yodl comments.
  github #44: Allow completion for picocom to list symlinks to character devices
  45245: _gcc: add some clang specific warnings
  45231: _rsync: When completing remote modules, ignore more of the motd.
  unposted: _tac: Eliminate superfluous variable
  45226: _man: Improve completion of file paths
  45184: Clarify documentation of %-sequences understood by compadd -[Xx]
  45239: Remove 'appendhistory' from zsh-newuser-install
  45218: add more options to swaks completion
  45196: fix completion after make -C, allowing for -C being used multiple times
  unposted (after 45183): Fix yodl error: "contrib.yo:4457: No macro: back(...)".
  45181: Fix workers/45164: ${(S)%%} will now consider the empty string as a potential match.
  45183: Improve documentation examples
  unposted: Add some tests for ${(S)}, including a regression test for workers/45164.
  45169/0002 (tweaked for trailing newlines): Add an expected-to-fail test for workers/44007.
  45169/0001: In the test suite, allow test cases to be marked as expected to fail.
  users/24582 + users/24583: Add regression tests for the previous commit.
  24581: Fix array assignments in shell word splitting and completion.
  45160: zshexpn: Expand documentation of (S)
  45150 + 45152: zshexpn: Use a more minimal example in the documentation of (#b).
  unposted: internal: Vim ztst support: Add an ftplugin in addition to the syntax highlighter.
  45130: _multi_parts: Always pass -f to compadd if given by caller
  unposted: zerrmsg(): Fix macro guard missed in previous commit
  unposted: ChangeLog for last commit
  internal: Allow %L in zerrmsg() in non-debug builds, too.
2020-01-15 22:49:09 +00:00
Daniel Shahaf
22c0fe02a5 45288: _git: Complete bisect/new as well as bisect/bad.
Also, complete the bisect/old-$commithash ref names.
2020-01-15 22:41:25 +00:00
Oliver Kiddle
06a9af4f59 unposted: additional typo fix 2020-01-11 17:41:14 +01:00
Eitan Adler
5482d65d5c 45280: _git: add -local variants
Technically all timezone formats support the "-local" suffix but it is
not meaningful for all of them. As such just list out the specific
formats which it does.

Also adjust the 'default' description
2020-01-11 17:37:44 +01:00
Daniel Shahaf
70d6d0d86c 45266: Fix losetup completion, broken in da085b7a20 (41720). 2020-01-10 12:46:38 +00:00
Daniel Shahaf
742ab1283b unposted: Two additional typo fixes. 2020-01-09 13:59:05 +00:00
Mikael Magnusson
66caa81ab7 Fix typos reported by codespell in shell code 2020-01-09 14:51:08 +01:00
Jens Schleusener
11dbe4c286 45269: Fix misspellings in completions and elsewhere. 2020-01-09 13:42:02 +00:00
dana
4858e868dc 45261: _gcc: Detect clang-as-gcc 2020-01-08 17:54:46 -06:00
Damien Thébault
58ff4adbb0 github #44: Allow completion for picocom to list symlinks to character devices 2020-01-07 14:55:46 +00:00
Eitan Adler
8500403b66 45245: _gcc: add some clang specific warnings 2020-01-06 22:01:09 -06:00
Daniel Shahaf
7542732df6 45231: _rsync: When completing remote modules, ignore more of the motd.
We cannot use the --no-motd option because it inhibits the modules
listing.

We cannot look for a blank line because there will not be a blank line
if the "motd file" does not end with a newline.

Looking for tabs is an improvement.  Any tabs in the motd will still
cause extraneous matches, but there's nothing we can do about that.

While here, show the modules in the order listed.
2020-01-06 02:28:54 +00:00
dana
3ff0b189a0 unposted: _tac: Eliminate superfluous variable 2020-01-05 14:51:04 -06:00
dana
0d3a62d931 45226: _man: Improve completion of file paths 2020-01-05 12:13:01 -06:00
Oliver Kiddle
6170cd0c17 45218: add more options to swaks completion 2020-01-03 23:02:52 +01:00
Oliver Kiddle
e6c5482dd8 45196: fix completion after make -C, allowing for -C being used multiple times 2020-01-03 23:01:00 +01:00
dana
02a33dd071 45130: _multi_parts: Always pass -f to compadd if given by caller 2019-12-26 20:26:58 -06:00
Daniel Shahaf
3834c423ab unposted: _stdbuf: Fix mismatch between the long options on the one hand, and the short options and descriptions on the other hand. 2019-12-23 08:25:48 +00:00
Baptiste BEAUPLAT
058cc10054 44698, 45000: Baptiste BEAUPLAT: Completion for sbuild 2019-12-16 12:07:39 +01:00
Aurélien Olivier
2fd17cae1c github #36: Add completion file for GNU Stow 2019-12-16 12:07:33 +01:00
Sebastian Gniazdowski
6c0ebbe1d9 44970: _brace_parameter: Update the description of S flag 2019-12-04 22:52:28 +01:00
Daniel Shahaf
06dddd0b98 Revert "44904: _subversion: Complete multiple comma-separated arguments to --show-item=<TAB>."
This reverts commit b06117ad21.

Reverted upstream in r1870750.
2019-12-03 12:27:13 +00:00
dana
0c59705e9e unposted (cf. 44967): _alsa-utils: Fix minor syntax error in arg spec 2019-12-02 17:26:55 -06:00
Oliver Kiddle
a833fe4a18 unposted: another place to complete selinux contexts that was missed in 44781 2019-12-01 22:59:36 +01:00
Oliver Kiddle
6a3e418fb6 44968: cleanup and update objdump and readelf completions 2019-12-01 22:49:47 +01:00
Sebastian Gniazdowski
055113d775 44967: Completion for aplay from alsa-utils 2019-12-01 22:24:16 +01:00
Daniel Shahaf
4bb8c937d8 unposted: _sqlite: Fix syntax error 2019-12-01 00:02:30 +00:00
Daniel Shahaf
dae3e135d8 44948: _subversion: Make _svn_controlled offer everything rather than nothing. 2019-11-29 20:34:34 +00:00
Daniel Shahaf
a4f5c345c8 44947: _subversion: Complete the 'auth', 'changelist', 'patch', 'resolve', and 'x-unshelve' subcommands. 2019-11-29 20:34:32 +00:00
Daniel Shahaf
a6b6b650fb 44946: _subversion: Make _svn_conflicts not offer all files in the directory. 2019-11-29 20:34:30 +00:00
Wayne Davison
95882efbf7 44912: more quoting fixes in _expand
Don't set done_quote=1 if the glob result is empty.
2019-11-26 16:27:51 -08:00
Oliver Kiddle
8aa84bd5fc 44923: update options for git 2.24 2019-11-24 22:58:38 +01:00
Oliver Kiddle
5df672b9d7 44896: use opt_args to find base directory and use it for $(CURDIR) 2019-11-24 22:56:21 +01:00
skirit
a8b0d399e5 unposted (salsa.debian.org MR!1): _ip: Complete the -brief option 2019-11-11 16:00:16 +00:00
Daniel Shahaf
b06117ad21 44904: _subversion: Complete multiple comma-separated arguments to --show-item=<TAB>.
Upstream revision: r1869578 (for 1.14.0)
2019-11-09 12:39:48 +00:00
Daniel Shahaf
ed26bf92d6 44897: _subversion: Complete --show-item=changelist 2019-11-07 12:04:27 +00:00
Oliver Kiddle
d2289b42a7 44895: complete options for state change notifications and other improvements 2019-11-06 21:32:25 +01:00
Eitan Adler
0a296d15ac 44882: add completion of -save-stats flag 2019-11-06 21:26:47 +01:00
Oliver Kiddle
64661103f0 unposted: fix missing local declarations in _sequence 2019-11-06 21:15:20 +01:00
Sebastian Gniazdowski
2c94b597bd github #41: Extend _dbus with dbus-launch completion 2019-10-29 15:59:02 +01:00
Oliver Kiddle
248ae0b77e unposted: tweak to check for openzfs rather than Solaris 2019-10-29 15:55:25 +01:00
Teddy Heinen
5cf1d6dfd1 github #40: Teddy Heinen: adjust zfs completion to use acltype on linux instead of aclmode 2019-10-28 23:15:37 +01:00
dana
9b69e84729 44846: _dates: Fix regression caused by workers/44274 2019-10-18 18:47:21 -05:00
Oliver Kiddle
308295d4d2 c.f. 44831: remove completion functions for long dead projects 2019-10-18 22:57:24 +02:00
Oliver Kiddle
ea78d0d4ae c.f. 44831: remove completion functions included in upstream projects 2019-10-18 22:52:32 +02:00
Oliver Kiddle
a891557b49 44849: completion updates for changes in OpenBSD 6.6 2019-10-18 22:47:32 +02:00
Daniel Shahaf
1156b2aa44 44812: _subversion: Fix syntax error in 44726/0001 2019-10-14 01:24:51 +00:00
Daniel Shahaf
c263b79c59 44809: _typeset: Complete 'functions -c' 2019-10-14 01:24:47 +00:00
dana
c6a14bd341 44767: _description: Ignore -J 2019-10-12 02:02:23 -05:00
dana
b79b779166 44681 (tweaked): _composer: Eliminate questionable eval, fix quoting issue 2019-10-12 02:02:15 -05:00
Daniel Shahaf
dca638e301 44797: _git-config: Complete unknown options from 'git help -c'. 2019-10-02 17:11:11 +00:00
Oliver Kiddle
0cc98dfe05 44800: complete tmux formats 2019-10-01 23:15:21 +02:00
Oliver Kiddle
d89fad7b4f 44799: new pv completion 2019-10-01 23:13:22 +02:00
Oliver Kiddle
7d2d242b30 44798: completion option update 2019-10-01 23:10:17 +02:00
Oliver Kiddle
934fc7d116 44783, 44791: mark some repeatable options with * in the _arguments specs 2019-09-30 23:20:24 +02:00
Oliver Kiddle
2c03873053 44788: handle newer rpm commands like rpmkeys, rpmsign and update options 2019-09-30 23:14:36 +02:00
Oliver Kiddle
095a012152 44782: new completions for avahi and pkgin 2019-09-27 01:48:17 +02:00
Gautam Iyer
3c761b5f23 gitlab !9: Rudimentary seafile client completion 2019-09-27 00:44:10 +02:00
Doron Behar
6711985b4b gitlab !11: luarocks: Fix/improve logic of cache validation
Also: Remove unnecessary quoting of helper function calls.
2019-09-27 00:34:30 +02:00
Oliver Kiddle
4f48ce208b 44781: add completion of SELinux contexts 2019-09-27 00:27:45 +02:00
Oliver Kiddle
81be5d1dce 44780: add completion to getent for the utmpx key on FreeBSD 2019-09-27 00:23:50 +02:00
Oliver Kiddle
0ff02590c3 44779: completion for new git switch and git restore commands 2019-09-27 00:16:54 +02:00
Jun-ichi Takimoto
39e39910eb 44768: _tar: improve completion of long options 2019-09-20 12:41:54 +09:00
Tobias Schulte
bed4e91681 github #38: fix completion text for git update-index --chmod 2019-09-18 16:29:47 +00:00
Daniel Hahler
597acaab4f 44722: _make: use --always-make instead of .PHONY for GNU make
Using ".PHONY" might actually execute (phony) targets then, while
"--always-make" triggers processing of all targets, respecting `-n`
(`--dry-run`).
(This can be seen with `make -nsp .PHONY` in
https://github.com/neomake/neomake/tree/76b110d49a, where it actually
causes infinite processing then)

".PHONY" was used since the beginning here (37012f06a [1]).

As for bmake (which also uses `.PHONY`): there does not appear to be a
similar option for it.
While it might work better there (i.e. not causing targets to be run),
it causes an error at least when testing it quickly - which indicates
that it behaves as if using any other non-existing (or special) target
there maybe:

> bmake: don't know how to make .PHONY. Stop

This was added in ecc0a5ece [2] (workers-39654).

Since it uses `-s -f "$file" -V.ALLTARGETS` with `bmake` before to get
targets explicitly, there might not be a reason for calling `bmake` with
`-nsdg1Fstdout … .PHONY` additionally in the first place?!

1: https://github.com/danielshahaf/zsh/commit/37012f06a
2: https://github.com/danielshahaf/zsh/commit/ecc0a5ece
2019-09-06 08:47:55 +02:00
Daniel Shahaf
2829e32e3c 44726/0002: _subversion: Update --show-item= completion to 1.12.0. 2019-09-04 02:56:54 +00:00
Daniel Shahaf
770dca2c53 44726/0001: _subversion: Use 'svn help -v' to show global options, experimental options, and experimental subcommands (upstream issue SVN-4828, to be released in Subversion 1.13.0) 2019-09-04 02:56:54 +00:00
Oliver Kiddle
2b41606fe7 44614: apt list option completion 2019-08-19 17:29:49 +02:00
Lajos Koszti
5ff3529caf 44633: complete ansible-vault actions like create, edit, etc. 2019-08-19 16:25:54 +02:00
Oliver Kiddle
359a8fce00 44587: completion option updates 2019-08-19 16:15:49 +02:00
dana
c6254f2a93 44675: _find: Fix return status 2019-08-17 16:30:34 -05:00
Eric Cook
5fd80faf98 24102: _user_admin subuids and subgids 2019-07-30 09:54:18 +01:00