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

2483 commits

Author SHA1 Message Date
Mikael Magnusson
8537738207 49966: _adb: Parse device spec correctly
This was particularly annoying when trying to complete logtags after adb logcat -s
2022-04-03 18:34:02 +02:00
Mikael Magnusson
6900dded09 49965: _adb: use $CURRENT instead of $#words 2022-04-03 18:34:01 +02:00
Mikael Magnusson
a07d010981 49964: _adb: Complete services for start/stop 2022-04-03 18:34:00 +02:00
Mikael Magnusson
1b62a5a0af 49963: _adb: Fix device serial completion for hostname:port syntax 2022-04-03 18:33:59 +02:00
Mikael Magnusson
8a60e2e214 49962: _adb: Add dumpsys and cmd completion 2022-04-03 18:33:58 +02:00
Mikael Magnusson
76b573fcbd 49961: _adb: handle exec-out like shell 2022-04-03 18:33:57 +02:00
Jun-ichi Takimoto
75410bc2a1 49943: offer only timezone files starting with uppercase 2022-04-01 17:50:30 +09:00
Peter Stephenson
57305cf245 49875: completion for info -f.
Use local files if there's a slash in the argument.
2022-03-24 10:37:39 +00:00
Matthew Martin
78649ac725 49852: Add _routing_domains and _routing_tables types 2022-03-18 20:52:18 -05:00
Jun-ichi Takimoto
ef60187efc 49766: _less: add quotes to -" and -# 2022-02-23 11:39:33 +09:00
Jun-ichi Takimoto
a692b980cb 49765: _less: add option --color as synonym for -D 2022-02-23 11:24:39 +09:00
samcarter
b745b06eb3 49757 (sourceforge #1): offer *.dtx as TeX input files 2022-02-16 13:16:19 +09:00
Jun-ichi Takimoto
fc18b7c8a2 49730: new completions for csplit, pr, ptx, truncate 2022-02-04 21:17:00 +09: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
e2ad321c88 49633: update options for git 2.34 2021-12-07 07:35:59 +01:00
Oliver Kiddle
9fc0e319c9 49631: new logger completion 2021-12-02 21:03:57 +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
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
Bart Schaefer
6b2d120077 users/27302: _remote_files respects setting of AUTO_REMOVE_SLASH option 2021-10-31 14:31:26 -07: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
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
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
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
Štěpán Němec
5ef55de65e 49234: add missing options in python completion 2021-08-27 08:51:32 +02:00