337 Commits

Author SHA1 Message Date
Ville Skyttä
0d0d0da48b Drop no longer needed shebang and executable bit from perl helper. 2011-02-10 22:00:30 +02:00
Ville Skyttä
5792ac8760 Try harder to find the correct perl executable to run the perl helper with.
It is now run explicitly with *some* perl executable.
2011-02-10 21:57:38 +02:00
Ville Skyttä
d066ace4cb Do file completion after gendiff output redirection.
Common use case is "gendiff DIR EXTENSION > FILE".
2011-02-07 20:59:01 +02:00
Ville Skyttä
cb01d8ea54 Add javaws completion. 2011-02-06 15:15:20 +02:00
Ville Skyttä
1b0e17c2a3 Define needed utility functions for javac and javadoc even if java is not installed. 2011-02-06 14:53:55 +02:00
Ville Skyttä
3123e2ac4c Add gendiff completion. 2011-02-05 16:54:48 +02:00
Ville Skyttä
6aecdb5f4c Avoid some unnecessary stat calls. 2011-02-05 12:06:53 +02:00
Igor Murzov
503640588d Make slackpkg comlete several package names for all actions 2011-01-28 06:25:50 +03:00
Igor Murzov
370ef61eba Take package names from pkglist for slackpkg completion 2011-01-28 06:08:43 +03:00
Guillaume Rousse
6c9b652c57 update subcommand list 2011-01-27 23:46:17 +01:00
Igor Murzov
e9393a96f7 Add completion for mplayer's -noconfig option 2011-01-27 21:39:14 +02:00
Igor Murzov
c0505367ce Oops, forgot to add file names to Makefile.am 2011-01-26 03:49:51 +03:00
Igor Murzov
b346174697 Overall clean up of different slackware-specific completions
Redundant braces removed; less grep + cut more sed; minor bugs fixed;
2011-01-25 03:55:08 +03:00
Igor Murzov
8c31c460c2 Improve slackpkg completion
Make install, reinstall, upgrade, ... actions also complete
filenames and disk sets.
2011-01-24 20:46:52 +03:00
Ville Skyttä
74128a73ce Add mktemp(1) completion. 2011-01-24 00:20:32 +02:00
Ville Skyttä
25df309263 Add bunch of extensions to xmlwf and xmllint filename completions. 2011-01-18 19:08:27 +02:00
Ville Skyttä
d6043b9609 Don't leak $options from iscsiadm completion, add basic test case. 2011-01-17 22:14:18 +02:00
Ville Skyttä
e99645d2b9 Add pack200 --repack completion. 2011-01-17 22:07:33 +02:00
Guillaume Rousse
406e8347dd add iscsiadm completion 2011-01-16 23:30:48 +01:00
Ville Skyttä
8843071002 Loosen python executable matching glob. 2011-01-10 20:31:57 +02:00
Ville Skyttä
a2348ba792 Complete "/path/to/python" the same way as plain "python". 2011-01-10 20:29:34 +02:00
Ville Skyttä
8fd9e1d1b9 Avoid "bad array subscript" with /usr/bin/python <TAB> (Debian: #559953). 2011-01-10 20:26:22 +02:00
David Paleino
5f04a30f7a Fixed typo in openssl completion (Debian: #609552) 2011-01-10 17:27:27 +01:00
Igor Murzov
1f453c9746 Improve completion for slackpkg 2011-01-09 05:00:27 +03:00
Igor Murzov
81bc6b778b Add initial completion for slackpkg 2011-01-09 04:13:58 +03:00
Ville Skyttä
fe2d7645df Re-enable postgresql database and user completion (Alioth: #312914, Ubuntu: #164772).
This implementation uses -w which is available only in psql >= 8.4,
but the net effect with earlier versions should be the same as when
the completions were disabled.
2011-01-08 23:28:38 +02:00
Igor Murzov
46bb61fa28 Split 'slackware' script into slapt and rpm2tgz 2011-01-08 21:56:08 +03:00
Igor Murzov
75b33f98b5 Cosmetic corrections for sbopkg completion 2011-01-08 21:55:32 +03:00
Sergey V
d77fb12d01 sbopkg: improve code, make it more logical
- remove ugly case '-c|-g|-h|-k|-l|-o|-P|-p|-q|-R|-r|-s|-u|-v)'
- remove second case statement

Reviewed-by: Igor Murzov <igor@gplsoft.org>
2011-01-08 02:27:40 +03:00
Sergey V
f6e04085f9 sbopkg: added queue files completion to '-b' and '-i' optoins 2011-01-06 19:20:50 +03:00
Sergey V
600b0eb366 sbopkg: return 0 if argument not required 2011-01-06 18:24:15 +03:00
Sergey V
207789bc7e slackware: sbopkg: move sbopkg completion to separate file 2011-01-06 05:52:00 +03:00
Sergey V
07edd33c9a slackware: sbopkg: fix multiple arguments for '-f'
If '-f' option written several times then used only latest
2011-01-06 05:32:26 +03:00
Sergey V
cb0a514b9f slackware: sbopkg: add completion for '-d' option 2011-01-06 05:15:47 +03:00
Sergey V
a2f8eed874 slackware: simplify command line for complete '-V' option 2011-01-06 04:08:52 +03:00
Ville Skyttä
bda497eb58 Add bunch of java option completions, improve colon handling. 2011-01-04 19:07:30 +02:00
Ville Skyttä
6c21f88456 Append /sbin to PATH when invoking sysctl. 2011-01-04 00:19:48 +02:00
Igor Murzov
98f6b5e1a3 Further improve completion for sbopkg
words now initialized properly; simple completions moved to the top,
so they won't fail if some problem with config occur;
and some other minor fixes
2010-12-26 19:26:21 +03:00
Igor Murzov
fdc21f8ce6 Add completion of -V option for sbopkg 2010-12-26 18:40:33 +03:00
Igor Murzov
9c3077ee2a Add missing completion for -e and -d options.
And also check that specified config location is correct once.

Signed-off-by: Sergey V <sftp.mtuci@gmail.com>
2010-12-26 16:56:22 +03:00
Igor Murzov
e5374483a1 Clean up sbopkg completion
Signed-off-by: Sergey V <sftp.mtuci@gmail.com>
2010-12-26 03:39:27 +03:00
Igor Murzov
600e8351ea Merge remote branch 'sftp/sftp' into garik 2010-12-26 02:27:14 +03:00
Igor Murzov
b984cbb9c1 Merge branch 'master' into garik 2010-12-26 02:24:46 +03:00
Ville Skyttä
15bc11769b Improve scp path escape regex.
The previous one reportedly ended up escaping 't' to '\t' in some
setups (at least bash 3.2.48 on OS X 10.6, but not with 4.1.7 on
Fedora nor 3.2.25 on CentOS), probably due to missing backslash in the
regex.  This one removes some spurious escaping and duplicates in the
char class, and should communicate the intent better.
2010-12-23 22:05:55 +02:00
Ville Skyttä
2d4ebbaf25 Ignore muttrc source entries that are not files (Alioth: #312881). 2010-12-20 23:46:47 +02:00
David Paleino
c55dfe6982 Complete on all files for mplayer's -dvd-device.
This is because mplayer is able to use a directory as "device" (i.e. if you
  copy a DVD on the harddisk), or even single files (.iso files, for example).
2010-12-18 23:23:59 +01:00
Ville Skyttä
0ceca807c5 Add *.apk to unzip and jar filename completions. 2010-12-16 19:59:41 +02:00
Ville Skyttä
70d5ff09e0 Add *.spkg (Sage Package) to tar filename completions. 2010-12-11 12:56:52 +02:00
Ville Skyttä
6e12e1a2aa Add *.gz versions of supported filenames to xmllint filename completions. 2010-12-09 22:58:01 +02:00
Ville Skyttä
c1d3cdad70 python -c takes a command, not a script. 2010-11-21 20:36:09 +02:00