19 Commits

Author SHA1 Message Date
Igor Murzov
33883145af sbopkg, slackpkg, slapt-{get,src}: Use shorter form of the check if file exists.
Also add information about corresponding man pages.
2012-01-13 00:20:45 +04:00
Igor Murzov
32e8f33018 sbopkg: Use _parse_help.
Reviewed-by: Sergey V <sftp.mtuci@gmail.com>
2012-01-13 00:20:20 +04:00
Igor Murzov
2e859f1a6c Cleanups: Be consistent, use $( foo ) instead of $(foo).
This partially reverts f0283e1c1b64202bb1adb9f44eac6fdfd80edece
2011-11-20 23:46:06 +03:00
Igor Murzov
f0283e1c1b Cleanups: Make code more compact.
Drop useless spaces, backslashes, return codes, unused arguments etc.
2011-11-20 17:10:58 +03:00
Ville Skyttä
3b8ef29ef3 Cleanups: Use [[ instead of [. 2011-11-09 23:28:11 +02:00
Ville Skyttä
0d10b94e7a Move Emacs indentation settings from every file to .dir-locals.el. 2011-11-01 22:14:45 +02:00
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