Ville Skyttä
ee43b22f9b
Use += to append to arrays and strings.
...
It's easier on the eye and faster than foo=( "${foo[@]}" ... ).
2011-04-06 20:39:21 +03:00
Ville Skyttä
d852c18d41
Simplify rpmbuild --buildpolicy completion.
2011-02-13 18:54:54 +02:00
Ville Skyttä
34f574dc89
Add rpmbuild --buildpolicy completion.
2011-02-11 00:06:20 +02:00
Ville Skyttä
6042cbe2f5
Split rpm and rpmbuild completions and improve them both.
...
The option sets are different, and rpm should not have been used to
build packages since rpm 4.0, and could not have been used for that
since rpm 4.1.
2011-02-10 23:51:26 +02:00
Ville Skyttä
4c1e0d5cf2
Drop rpm query support for rpm < 4.1.
2011-02-10 23:37:04 +02:00
Ville Skyttä
dcb90a38ab
Make rpm --queryformat use more consistent.
2011-02-10 23:25:51 +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ä
3123e2ac4c
Add gendiff completion.
2011-02-05 16:54:48 +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
Ville Skyttä
b31530f125
Add *.tar to rpmbuild -tb filename completions.
2010-10-23 22:32:06 +03:00
Ville Skyttä
75b232ad3f
Indentation/line wrapping fixes.
2010-10-23 13:32:37 +03:00
Ville Skyttä
a55f763363
Trivial cleanups.
2010-10-07 20:07:46 +03:00
Ville Skyttä
4cd7c7c872
Treat *.spm as *.src.rpm.
...
Source rpms are sometimes named *.spm, e.g. in SUSE.
2010-10-07 20:05:55 +03:00
Guillaume Rousse
cb7fc2f7c4
rename 'contrib' directory to 'completions'
2010-09-12 16:42:21 +02:00