summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command
AgeCommit message (Collapse)AuthorFilesLines
2022-05-2250278: use `man -w` in preference to `manpath`; fix caching and precedence of -MBart Schaefer1-17/+28
2022-05-20github #91: _find (gnu/freebsd/darwin): Add some flags and syntaxesArvid Norlander1-3/+9
* -exec and -execdir can take ; or + as an ending marker. Previously only ; was supported. This is part of POSIX for -exec (support for + for -ok is optional and none of the implementations I looked at seem to support that). * Missing completion for -files0-from (GNU find 4.9.0 and later). This flag needs to go with the global flags at the beginning and load the paths from the given file instead of from the command line. * Missing completion for the -newerXY family of flags (GNU find 4.3.3, also available in FreeBSD and MacOS at least).
2022-05-07Marlon Richert: 49954: gradle completion improvementsBart Schaefer1-53/+61
* Adjust the pattern for matching tasks. The old one was too strict, causing it to filter out perfectly valid tasks. * Add completion of subproject names. * Prevent subproject tasks from overwriting the main task description. * Require `:` prefix for showing subprojects. * Require a subproject prefix before showing subproject tasks. * Standardize the use of completion tags. * Rebuild the cache if it can't be read or doesn't contain the required arrays.
2022-04-26unposted: Fix util-linux variant detection in _getoptdana1-3/+4
This had been broken all along for the actual util-linux getopt; i think the 'enhanced' text comes from the original author's version, which Homebrew was still using when the function was written
2022-04-0349968: _adb: also replace model names, since device names aren't sent on ↵Mikael Magnusson1-0/+2
wifi listing
2022-04-0349967: _adb: Handle dumpsys SurfaceFlinger argumentsMikael Magnusson1-3/+51
2022-04-0349966: _adb: Parse device spec correctlyMikael Magnusson1-6/+5
This was particularly annoying when trying to complete logtags after adb logcat -s
2022-04-0349965: _adb: use $CURRENT instead of $#wordsMikael Magnusson1-6/+6
2022-04-0349964: _adb: Complete services for start/stopMikael Magnusson1-1/+15
2022-04-0349963: _adb: Fix device serial completion for hostname:port syntaxMikael Magnusson1-1/+1
2022-04-0349962: _adb: Add dumpsys and cmd completionMikael Magnusson1-1/+21
2022-04-0349961: _adb: handle exec-out like shellMikael Magnusson1-1/+2
2022-03-2449875: completion for info -f.Peter Stephenson1-2/+7
Use local files if there's a slash in the argument.
2022-03-1849852: Add _routing_domains and _routing_tables typesMatthew Martin6-7/+6
2022-02-2349766: _less: add quotes to -" and -#Jun-ichi Takimoto1-2/+2
2022-02-2349765: _less: add option --color as synonym for -DJun-ichi Takimoto1-2/+2
2022-02-1649757 (sourceforge #1): offer *.dtx as TeX input filessamcarter1-1/+1
2022-02-0449730: new completions for csplit, pr, ptx, truncateJun-ichi Takimoto4-0/+277
2022-01-2949715: _subversion: add: Complete target arguments to this subcommandDaniel Shahaf1-10/+14
2022-01-2949714: _subversion: resolve: Complete conflicted files created by merges, tooDaniel Shahaf1-1/+5
2022-01-2949713: _subversion: commit, diff, revert: Update completions for svn 1.7 and ↵Daniel Shahaf1-26/+43
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-2949712: _subversion: svn rm: Complete all svn-controlled files, not only ↵Daniel Shahaf1-1/+1
missing/deleted files Note that currently, _svn_controlled matches all files.
2022-01-2949711: _subversion: _svn_status: Don't offer unversioned filesDaniel Shahaf1-1/+1
This function is used only by revert, diff, and commit, none of which can run on unversioned files (those with status '?').
2022-01-23gitlab !17: Add missing options for quilt setup commandAndreas Schneider1-0/+2
2021-12-2949664: Use associative array for third-party completionAaron Schrab1-4/+4
2021-12-2949668: update zfs completionOliver Kiddle2-872/+1350
2021-12-2149655 based on 34928 (Daniel Hahler): new pip completionOliver Kiddle1-0/+213
2021-12-1649648 based on github #80 (Vincent Bernat): invert before/since for date ↵Oliver Kiddle1-2/+2
glob qualifiers completion
2021-12-0749633: update options for git 2.34Oliver Kiddle1-124/+238
2021-12-0249631: new logger completionOliver Kiddle1-0/+80
2021-11-26github #83: _git-push, _git-send-pack: Make --push-option repeatable.Paul Seyfert1-2/+2
2021-11-2649449: _zstat: Don't offer -o after -s, since -s is ignored when both -s and ↵Daniel Shahaf1-1/+1
-o are specified.
2021-11-2449597: add a helper for completing numbers with unit suffixes and separate ↵Oliver Kiddle11-80/+62
out defaults, ranges and units in completion descriptions
2021-11-1949594: adapt to changes in 49499 to ensure file modes starting with dash ↵Oliver Kiddle1-1/+4
aren't taken to be flags
2021-11-1949584: allow for build options in gem install completionOliver Kiddle1-0/+5
2021-11-12github #82: Fix typosDimitris Apostolou2-3/+3
2021-11-12unposted: fix case statement fall-through for ansible-galaxy role completionOliver Kiddle1-1/+1
2021-10-2649519: quote completed options as needed and remove the now superfluous ↵Oliver Kiddle5-6/+6
quotes from option specifications
2021-10-16github #79 (tweaked): _ssh: update options in apple's version of ssh-addXavier Hsinyuan1-3/+13
2021-10-1349441: _timeout: Add OpenBSDMatthew Martin1-2/+2
2021-09-28Add support for multi-project builds to _gradleMarlon Richert1-8/+30
2021-09-0648832: try _gnu_generic firstBart Schaefer1-1/+1
2021-09-0449343: Fix file name completion of GNU digest utilitiesShohei YOSHIDA1-1/+4
2021-09-0449345: fix git file completion for paths starting with ../Oliver Kiddle1-4/+4
2021-08-2949327: complete for new git maintenance, for-each-repo, sparse-checkout and ↵Oliver Kiddle1-2/+106
bugreport commands
2021-08-2949319: completion options updateOliver Kiddle35-157/+344
2021-08-2949317: cleanup inappropriate use of {...} specs with _arguments or _alternativeOliver Kiddle4-30/+30
2021-08-2949316: add (-.) glob qualifier to globs where only files are applicableOliver Kiddle4-13/+13
2021-08-2949315: list units in brackets at the end of group descriptionsOliver Kiddle6-27/+21
2021-08-2749234: add missing options in python completionŠtěpán Němec1-2/+5