3546 Commits

Author SHA1 Message Date
Ville Skyttä
dbb93ae77b (testsuite) Save shell variables when saving env (Alioth: #314720) 2014-07-01 22:23:35 +03:00
Damien Nadé
16361c873b (testsuite) Use 'set' command posix behaviour when saving env (Alioth: #314720) 2014-07-01 22:22:17 +03:00
Ville Skyttä
4bbab196cb adb: New completion 2014-07-01 17:34:42 +03:00
Damien Nadé
afe39fd1e1 Added test/site.{bak,exp} to .gitignore 2014-06-12 01:58:54 +04: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
Damien Nadé
d238ab5445 _parse_help: Fix failglob failures (Alioth: #314707) 2014-06-09 01:46:50 +04:00
Igor Murzov
dcb0ea2ca2 (testsuite): move testing of _linux_fstab() to umount.exp
The function is only used for umount completion.
2014-06-09 01:46:50 +04: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
Ville Skyttä
615fd18195 (testsuite) Add vgcreate test case for _lvm_count_args with failglob on 2014-06-07 12:27:27 +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
Ville Skyttä
b65232fa34 _filedir_xspec: Fix with failglob on 2014-06-07 12:15:02 +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
Dams Nadé
84135d756b Quote unset array element to avoid globbing interference (Alioth: #314708) 2014-06-03 22:52:18 +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ä
732906b250 __reassemble_comp_words_by_ref: Make work with failglob on (Alioth: #312741)
Based on a patch from Dams Nadé <alioth@livna.org>
2014-06-02 17:09:16 +03:00
Ville Skyttä
41cdfc6510 _services: README in sysv init dir is not a service 2014-06-02 16:49:59 +03:00
Ville Skyttä
de78c1653a mpv: New completion alias + adjustments for mplayer (Debian: #749115) 2014-06-02 13:55:03 +03:00
Ville Skyttä
d748a5a249 (testsuite) Add puppet subcommand option test case 2014-06-02 12:41:53 +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
Mathieu Parent
ac98c31f30 Puppet: use puppet terminology
Usage: puppet <subcommand> [options] <action> [options]
2014-06-02 11:18:09 +03:00
Tristan Wibberley
54d53c6227 make: completion shouldn't be confused by the output of $(info confuse: make) 2014-05-20 02:24:33 +04:00
Rune Schjellerup Philosof (Olberd)
eafde37848 dpkg: Add support in dpkg completion for .ddeb (LP: #568404) 2014-05-14 00:06:00 +04:00
Thilo Six
768a958546 Use more straightforward way to check bash version 2014-05-14 00:02:11 +04:00
Stefano Rivera
38a013e22c pypy: New completion identical to python (Alioth: #314501) 2014-05-14 00:01:40 +04:00
Ville Skyttä
c924d32b4c hostname: New completion 2014-05-03 23:13:33 +03:00
Ville Skyttä
b74d53761a nslookup: complete on hosts (Alioth: #314673) 2014-05-01 18:30:20 +03:00
Ville Skyttä
77e11c41ea eog: Complete on *.pgm (RedHat: #1090481) 2014-04-23 15:47:34 +03:00
Peter Wu
b1f7803556 gdb: support --args style completion (Alioth: #314664) 2014-04-23 15:42:49 +03:00
Ville Skyttä
13ad1f1966 pngfix: New completion 2014-04-06 13:16:08 +03:00
Ville Skyttä
4a4afd5eab qemu: Fix -balloon arg completion 2014-04-06 10:46:43 +03:00
Ville Skyttä
61ad655fc4 qemu: Apply completion to qemu-kvm/-system-i386/-system-x86_64 too 2014-04-06 10:45:26 +03:00