13 Commits

Author SHA1 Message Date
Ville Skyttä
20c05b43b6 Load completions in separate files dynamically, get rid of have(). 2011-10-12 00:19:50 +03:00
Igor Murzov
602e9837b7 sbopkg: Fix options completion
This is the regression introduced by commit ac79f44d90.
Options completion broke due to *) presence in   case "$prev" in ...
2011-07-18 02:07:34 +04:00
Igor Murzov
4e79c13d0d sbopkg, slackpkg, slapt: Don't leak local $i. 2011-06-12 18:46:54 +04:00
Igor Murzov
ac79f44d90 kcov, pkgtools, sbopkg, slapt: Move option completion code after option argument completions
otherwise bogus completions are produced for option argument completions
starting with a dash
2011-06-08 04:20:41 +04:00
Ville Skyttä
26ae7700ed pkgtools, rpm2tgz, sbopkg, slackpkg, slapt: Add indentation settings. 2011-05-02 13:18:33 +03:00
Igor Murzov
d3f7c16942 Use _init_completion() in pkgtools, rpm2tgz, sbopkg, slackpkg, slapt 2011-04-22 03:03:22 +04:00
Igor Murzov
0af9122381 Abort completion file loading earlier if required commands are not available.
It's follow up of 9af6f3504e8c94e5ead187b7cd223bd481548957
2011-04-22 02:35:41 +04: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
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