806 Commits

Author SHA1 Message Date
Ville Skyttä
7999f28f62 createuser: New completion 2015-01-18 22:13:27 +02:00
Ville Skyttä
e71b4522d1 createdb, dropdb: Drop -o default, it does not appear to do anything good here 2015-01-18 22:01:47 +02:00
Ville Skyttä
23bf3bd412 tshark: Simplify cut usage 2014-12-29 11:37:38 +02:00
Ville Skyttä
a592a09cc6 mcrypt: Simplify -m arg completion 2014-12-29 11:35:16 +02:00
Ville Skyttä
976ad96007 strings: Fix -T/--target arg completion with non-English locale 2014-12-15 12:43:55 +02:00
Ville Skyttä
dfb2d01bab ccache: Add -o/--set-config arg name completion 2014-11-30 13:06:09 +02:00
Ville Skyttä
89add74ae0 gphoto2: Replace tail with awk 2014-11-16 12:26:19 +02:00
Ville Skyttä
7d3de619d1 *: Invoke command to be completed, not its basename 2014-11-16 12:18:41 +02:00
Ville Skyttä
7d66285b42 gphoto2: Fix split argument handing, and colon treatment in --port args 2014-11-16 12:10:35 +02:00
Ville Skyttä
ed07b18e61 Actually install the lz4 completion 2014-11-10 23:22:38 +02:00
Ville Skyttä
52d8316c5c _pnames: Add -s for producing (possibly) truncated names (RedHat: #744406)
pgrep and pkill actually expect these instead of the full names.
2014-11-10 22:36:49 +02:00
Ville Skyttä
882649b712 Protect various compgen invocations from -* leakage (Debian: #766163) 2014-11-01 21:48:35 +02:00
Ville Skyttä
4038c71357 pigz, unpigz: Handle *.zz 2014-09-17 19:40:02 +03:00
Ville Skyttä
42e1f344b7 rpmbuild: Complete *.spec on --nobuild 2014-08-30 13:36:12 +03:00
Patrick Monnerat
e879eb0a17 rpmbuild: Complete *.spec on --clean (RedHat: #1132959) 2014-08-30 13:35:57 +03:00
Ville Skyttä
852e0f60f0 mplayer, *xine: Complete on *.mts (Debian: #759219) 2014-08-29 19:32:03 +03:00
Ville Skyttä
86df56d5ec ant: Support buildfile set in $ANT_ARGS (Alioth: #314735) 2014-07-20 11:42:09 +03:00
Ville Skyttä
98d6b5e440 ant: Don't offer more completions after options that exit 2014-07-20 11:20:40 +03:00
Ville Skyttä
d259e71758 7z, adb: Trivial cleanups 2014-07-19 19:15:49 +03:00
Ville Skyttä
eb79f9d97f python(3): Add -X argument non-completion 2014-07-19 19:12:11 +03:00
Ville Skyttä
7c5c622dda xsltproc. TODO fix for previous commit 2014-07-19 17:17:53 +03:00
Ville Skyttä
ab8eeb3a71 xmllint, xmlwf, xsltproc: Complete on *.dbk and *.docbook (Alioth: #314770) 2014-07-19 17:15:14 +03:00
Ville Skyttä
9e2db8a03e xz: Complete -T/--threads argument 2014-07-04 18:43:00 +03:00
Ville Skyttä
4bbab196cb adb: New completion 2014-07-01 17:34:42 +03:00
Igor Murzov
9d250f9b53 isql: Fix failglob failure 2014-06-10 02:43:44 +04:00
Igor Murzov
60b8fabec4 ssh-add, ssh-keygen: -? needs to be quoted under failglob (take 2) (Alioth: #314709) 2014-06-10 02:43:44 +04:00
Ville Skyttä
c6ec8f979b modprobe: Try parsing help before using hardcoding option list 2014-06-09 09:40:47 +03:00
Peter Wu
454f67a047 modprobe: fix params with multi-line descriptions
The command `modprobe -p nouveau` outputs:

    tv_norm:Default TV norm.
    		Supported: PAL, PAL-M, PAL-N, PAL-Nc, NTSC-M, NTSC-J,
    			hd480i, hd480p, hd576i, hd576p, hd720p, hd1080i.
    		Default: PAL
    		*NOTE* Ignored for cards with external TV encoders. (charp)
    tv_disable:Disable TV-out detection (int)
    ...

This breaks module parameter auto-completion, so only suggest parameters
which are not preceded by whitespace. Tested with kmod 17-1 on Arch
Linux.

Modified-By: Ville Skyttä <ville.skytta@iki.fi>
2014-06-09 09:21:58 +03:00
Igor Murzov
292830be53 umount: Fix mount points escaping/unescaping with Bash-4.3 2014-06-09 01:46:49 +04:00
Damien Nadé
01024f595e _lvm: using a single-pattern case and invoking function according to words[1] 2014-06-07 12:32:07 +03:00
Damien Nadé
3717fe7b6d lvm: _lvm_count_args parameter must be quoted in order to failglob not to complain 2014-06-07 12:16:21 +03:00
Igor Murzov
72207276a5 slapt-src: Handle --config=FILE option properly
This is a followup to commit 3a65be4a18.
2014-06-06 01:28:47 +04:00
Igor Murzov
505481c8cc sbopkg, slapt-{get,src}: expand tilde in config file name
This fixes following [[ -r "$config" ]] when file name begins with ~.
2014-06-06 01:28:46 +04:00
Damien Nadé
154f388413 gendiff: Quoting suffix pattern to avoid triggering failglob 2014-06-05 22:52:01 +03:00
Igor Murzov
70e52c8a1f slapt-{get,src}: Fix issue with sed not being able to handle some characters
# LC_ALL=C slapt-get --search "^moo" | sed -ne "/^moo/{s/ .*$//;p}"
 moos-project-viewer-2.8.1-x86_64-1sl [inst=no]: moos-project-viewer - Free Viewer for Microsoft®

 # LC_ALL=C slapt-get --search "^moo" | LC_ALL=C sed -ne "/^moo/{s/ .*$//;p}"
 moos-project-viewer-2.8.1-x86_64-1sl
2014-06-05 02:04:25 +04:00
Igor Murzov
3a65be4a18 slapt-src: split options from their arguments 2014-06-05 02:04:24 +04:00
Igor Murzov
8566a5a896 Quote _filedir arguments when appropriate to prevent failglob failures 2014-06-05 02:04:23 +04:00
Dams Nadé
24c8f1e44e ssh-add, ssh-keygen: -? needs to be quoted under failglob (Alioth: #314709) 2014-06-03 23:14:59 +03:00
Ville Skyttä
1ed2377c89 Various mostly array element unsetting fixes under failglob 2014-06-03 23:11:01 +03:00
Igor Murzov
9186add629 psql: Tell psql to not load .psqlrc as it may change output format (Alioth: #314636) 2014-06-03 03:37:14 +04:00
Ville Skyttä
de78c1653a mpv: New completion alias + adjustments for mplayer (Debian: #749115) 2014-06-02 13:55:03 +03:00
Ville Skyttä
dbe732517e puppet: Recognize some short options 2014-06-02 12:40:26 +03:00
Ville Skyttä
00a80a2a83 puppet: Parse most subcommand options from "help subcommand" output 2014-06-02 12:35:14 +03:00
Ville Skyttä
f94d1a6803 puppet: Exit early on -h|-V|--version in addition to --help 2014-06-02 12:15:23 +03:00
Mathieu Parent
0bbcc476b2 Puppet: describe: update options list, accordind to 'puppet help describe' 2014-06-02 11:40:32 +03:00
Mathieu Parent
b46636ae16 Puppet: cert: update options list, accordind to 'puppet help cert' 2014-06-02 11:39:22 +03:00
Mathieu Parent
5a536aec4c Puppet: apply: update options list, accordind to 'puppet help apply' 2014-06-02 11:38:53 +03:00
Mathieu Parent
af5ba56089 Puppet: agent: update options list, accordind to 'puppet help agent' 2014-06-02 11:25:39 +03:00
Mathieu Parent
b56df708a1 Puppet: puppet parser support 2014-06-02 11:21:54 +03:00
Mathieu Parent
20e9befbff Puppet: puppet -* doesn't imply 'puppet apply' 2014-06-02 11:20:27 +03:00