1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-03 10:21:46 +02:00
Commit graph

4505 commits

Author SHA1 Message Date
Matthew Martin
e1405109a6 49731: Add OpenBSD sys{clean,merge,patch,upgrade} completion 2022-02-02 19:29:51 -06:00
Daniel Shahaf
04513dd5df 49715: _subversion: add: Complete target arguments to this subcommand 2022-01-29 10:08:45 +00:00
Daniel Shahaf
a956caa233 49714: _subversion: resolve: Complete conflicted files created by merges, too 2022-01-29 10:08:43 +00:00
Daniel Shahaf
a803a5f4c4 49713: _subversion: commit, diff, revert: Update completions for svn 1.7 and newer
* _svn_deletedfiles: Remove.
    The last version of svn(1) under which that function could possibly
    complete anything, svn 1.6.x, was EOLed in 2013.  Newer versions
    don't have a "text-base" directory, so $controlled is set to an
    empty array, so this function returned false for all files, so
    in 'svn rm' (up to the previous commit) all files were completed
    (because that's what '_files -g "*(e:false:)"' does).

* _svn_status: Remove.
    Versions of svn newer than the aforementioned 1.6.x have an
    entries file but never modify it, so the "mtime has changed" check
    would false negative.  Therefore, sequences such as:
    .
        svn <TAB>
        echo >> some/versioned/file
        svn ci <TAB>
    .
    wouldn't offer some/versioned/file.
    .
    Furthermore, completion would offer directories with no changed
    files in them, and even unversioned directories.  Now only changed
    files/directories are offered.

* _cache_svn_status, _cache_svn_mtime: Remove.
    If these hadn't been removed, I would have moved their declarations
    to file scope so _svn_status could be used from outside this file,
    too.

The replacement function, _svn_modified, doesn't have cache support, but
does honour the 'verbose' style to inhibit recursion to subdirectories.
2022-01-29 10:08:42 +00:00
Daniel Shahaf
cb2b0e7c6c 49712: _subversion: svn rm: Complete all svn-controlled files, not only missing/deleted files
Note that currently, _svn_controlled matches all files.
2022-01-29 10:08:40 +00:00
Daniel Shahaf
6342512483 49711: _subversion: _svn_status: Don't offer unversioned files
This function is used only by revert, diff, and commit, none of which
can run on unversioned files (those with status '?').
2022-01-29 10:08:39 +00:00
Andreas Schneider
af0f497247 gitlab !17: Add missing options for quilt setup command 2022-01-23 10:46:52 +00:00
Aaron Schrab
92c80e72aa 49664: Use associative array for third-party completion 2021-12-29 00:29:50 +01:00
Oliver Kiddle
85bf9740a0 49668: update zfs completion 2021-12-29 00:22:33 +01:00
Oliver Kiddle
b7490d3376 49655 based on 34928 (Daniel Hahler): new pip completion 2021-12-21 01:20:01 +01:00
Oliver Kiddle
702d773e86 49648 based on github #80 (Vincent Bernat): invert before/since for date glob qualifiers completion 2021-12-16 14:21:19 +01:00
Oliver Kiddle
7791a6876c 49645: when completing for the path_dirs option, add a / suffix and follow symlinks 2021-12-13 20:59:25 +01:00
Oliver Kiddle
78c51b34c0 49643: facilitate use of the fake style by always calling _description with the executables tag for command names
Also allow the command-path style to include relative directories.
2021-12-13 20:52:23 +01:00
Oliver Kiddle
e2ad321c88 49633: update options for git 2.34 2021-12-07 07:35:59 +01:00
Oliver Kiddle
4e1bd9ebdf 49630: allow zsh to quote matches from bash completions but include a special case for space suffixes 2021-12-02 21:03:57 +01:00
Oliver Kiddle
9fc0e319c9 49631: new logger completion 2021-12-02 21:03:57 +01:00
Oliver Kiddle
4775f4dc12 49629: new Linux perf completion 2021-12-02 21:03:54 +01:00
Paul Seyfert
5fe498124d github #83: _git-push, _git-send-pack: Make --push-option repeatable. 2021-11-26 11:48:55 +00:00
Daniel Shahaf
676aaf23c3 49449: _zstat: Don't offer -o after -s, since -s is ignored when both -s and -o are specified. 2021-11-26 08:33:40 +00:00
Oliver Kiddle
16d5d6a9da 49597: add a helper for completing numbers with unit suffixes and separate out defaults, ranges and units in completion descriptions 2021-11-24 23:09:38 +01:00
Oliver Kiddle
973e356c34 49594: adapt to changes in 49499 to ensure file modes starting with dash aren't taken to be flags 2021-11-19 21:54:50 +01:00
Oliver Kiddle
8cf76fb8f9 49584: allow for build options in gem install completion 2021-11-19 21:50:33 +01:00
Dimitris Apostolou
356dcb20ce github #82: Fix typos 2021-11-12 23:54:34 +01:00
Marlon Richert
c7f4634549 49572: Let _expand preserve array form w/out zstyle glob 2021-11-12 22:13:10 +01:00
Oliver Kiddle
9c515a5a2f unposted: fix case statement fall-through for ansible-galaxy role completion 2021-11-12 22:00:10 +01:00
Oliver Kiddle
8ea5977222 49564: always use descriptions included in the file-patterns style and allow the recursive-files style to also work in those cases 2021-11-12 20:41:04 +01:00
Oliver Kiddle
dfb7ac94bb 49561: add zformat -F option, similar to -f but ternary expressions check for existence instead of doing math evaluation 2021-11-12 20:33:52 +01:00
Bart Schaefer
6b2d120077 users/27302: _remote_files respects setting of AUTO_REMOVE_SLASH option 2021-10-31 14:31:26 -07:00
Oliver Kiddle
632fee7cdf 49528: allow multiple -D options to compadd 2021-10-30 23:35:04 +02:00
Matthew Martin
8c582cebc5 49529: Add rogue and descriptions to _rcctl ls 2021-10-27 22:17:26 -05:00
Peter Palfrader
c4b19f7fc4 49431 (tweaked, c.f. Bart: 49434): Faster ~/.ssh/config processing
When iterating over the ssh config file, iterate over the array linearly
instead of always processing the first and then removing it from the
list.  This speeds up processing significantly.
2021-10-26 21:56:23 +02:00
Oliver Kiddle
4e9d0075f4 49519: quote completed options as needed and remove the now superfluous quotes from option specifications 2021-10-26 18:35:36 +02:00
Jun-ichi Takimoto
c7a391fa05 49493: fix '_arguments --' to correctly recognize optional argument 2021-10-24 21:32:58 +09:00
Oliver Kiddle
f414456b7a 49500: new lsns completion 2021-10-23 18:15:43 +02:00
Xavier Hsinyuan
0f1e4d8e78 github #79 (tweaked): _ssh: update options in apple's version of ssh-add 2021-10-16 20:23:41 -05:00
Matthew Martin
713588e235 49441: _timeout: Add OpenBSD 2021-10-13 22:02:40 -05:00
Jun-ichi Takimoto
a18348b897 49464: _basenc: new completion 2021-10-11 23:43:47 +09:00
Alex Xu (Hello71)
6459544417 49444: libarchive tar can actually extract much more formats 2021-09-28 23:57:41 +02:00
Marlon Richert
1e9013941e Add support for multi-project builds to _gradle 2021-09-28 23:50:31 +02:00
Oliver Kiddle
16ad7cec1b 49454: open dump file once only instead of reopening it for appends 2021-09-28 23:45:44 +02:00
Bart Schaefer
344d471c26 49389: leading variables in autoload file completion 2021-09-08 16:03:57 -07:00
Marlon Richert
ca2e71e0eb 48969: fix for "zle -N" completion 2021-09-06 12:48:53 -07:00
Bart Schaefer
c0e5b212f3 48832: try _gnu_generic first 2021-09-06 12:20:27 -07:00
Shohei YOSHIDA
c843af635a 49343: Fix file name completion of GNU digest utilities 2021-09-04 13:28:26 +02:00
Oliver Kiddle
b60bab1cc1 49345: fix git file completion for paths starting with ../ 2021-09-04 13:11:07 +02:00
Oliver Kiddle
64befeb4ca 49327: complete for new git maintenance, for-each-repo, sparse-checkout and bugreport commands 2021-08-29 17:12:56 +02:00
Oliver Kiddle
a9386df558 49319: completion options update 2021-08-29 17:08:34 +02:00
Oliver Kiddle
12676c0f9f 49317: cleanup inappropriate use of {...} specs with _arguments or _alternative 2021-08-29 17:05:39 +02:00
Oliver Kiddle
f529d54f43 49316: add (-.) glob qualifier to globs where only files are applicable 2021-08-29 17:00:05 +02:00
Oliver Kiddle
76de0b05da 49315: list units in brackets at the end of group descriptions 2021-08-29 16:55:25 +02:00