20 Commits

Author SHA1 Message Date
Rune Schjellerup Philosof (Olberd)
eafde37848 dpkg: Add support in dpkg completion for .ddeb (LP: #568404) 2014-05-14 00:06:00 +04:00
Ville Skyttä
e777395ac3 aptitude, dpkg: Replace some grep+cuts with awk 2014-01-06 17:56:36 +02:00
Igor Murzov
9ca8d933c6 dpkg: Suppress unwanted error messages (Debian: #706502) 2013-07-23 02:55:09 +04:00
Ville Skyttä
6185297fc9 *: Line continuation, whitespace, and compgen -W ... -- "$cur" quoting cleanups. 2013-02-17 23:49:30 +02:00
David Paleino
bea33f7ac9 Really fix it, double quotes 2011-11-06 21:04:48 +01:00
David Paleino
665ceebf3b Oops, fix completion 2011-11-06 20:28:34 +01:00
David Paleino
2bb6addc86 Correctly list purgeable packages for dpkg --listfiles and dpkg --purge (Debian: #647684) 2011-11-05 11:38:25 +01:00
Ville Skyttä
0d10b94e7a Move Emacs indentation settings from every file to .dir-locals.el. 2011-11-01 22:14:45 +02:00
David Paleino
c0ea434660 Also complete on dpkg-query (Debian: #642526) 2011-11-01 20:23:53 +01:00
Ville Skyttä
156656c16d Split/rename many completions into per-command files. 2011-10-12 23:01:10 +03:00
Ville Skyttä
20c05b43b6 Load completions in separate files dynamically, get rid of have(). 2011-10-12 00:19:50 +03:00
Ville Skyttä
c875723bef Include trailing equals sign in options that take arguments that way.
This way it's clearer to users that an argument is expected.  It's
likely that this commit does not catch all such cases, but it should
do it for most of the affected commands I have installed.
2011-05-02 11:45:55 +03:00
Ville Skyttä
a54857cd05 _init_completion: Add -s for splitting long options, use it in completions. 2011-05-02 00:04:26 +03:00
Ville Skyttä
4f35919e69 Convert more completions to use _parse_help() instead of hardcoded option lists. 2011-04-29 12:27:21 +03:00
Ville Skyttä
6e809d032c Remove = from COMP_WORDBREAKS when using _split_longopt().
Without this, it does not do anything useful in bash >= 4.0.
2011-04-25 00:09:50 +03:00
Ville Skyttä
4bc5f90b3e Use _init_completion() in completions/d*. 2011-04-20 16:49:57 +03:00
Ville Skyttä
94c51fc36e Coding style consistency tweaks. 2011-04-04 23:48:22 +03:00
Ville Skyttä
344076f92c Use numeric comparison operators when comparing numerically. 2011-02-10 23:55:16 +02:00
Ville Skyttä
0f450219b6 Remove most "-o filenames" options to "complete".
Turn it on dynamically when needed instead; see doc/styleguide.txt for
a longer explanation.  This fixes many non-filename completions which
had been previously more or less broken due to unwanted
escape-as-filenames behavior.
2010-11-01 19:29:45 +02:00
Guillaume Rousse
cb7fc2f7c4 rename 'contrib' directory to 'completions' 2010-09-12 16:42:21 +02:00