3251 Commits

Author SHA1 Message Date
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
Ville Skyttä
1a01e54d85 Another stab at making service completion work on Slackware. 2011-11-06 14:22:39 +02:00
Ville Skyttä
a9873c8727 Revert "service, _services: Make these work on Slackware GNU/Linux."
This reverts commit 9717124ab7bad30b6d8ba02ef91850c6bb74dd63.
See http://thread.gmane.org/gmane.comp.shells.bash.completion.scm/2278
2011-11-06 14:00:04 +02:00
Igor Murzov
9717124ab7 service, _services: Make these work on Slackware GNU/Linux. 2011-11-05 20:44:17 +03:00
Igor Murzov
bc2d3c9a34 _known_hosts_real: Replace "${HOME}" with "~" to make code more compact. 2011-11-05 19:51:07 +03:00
Igor Murzov
74d80d17f9 _known_hosts_real: Add some quotes (Alioth #313158)
Should fix errors if $HOME contains spaces.
2011-11-05 19:41:34 +03: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ä
ec3a06ac23 desktop-file-validate: New completion. 2011-11-05 12:15:30 +02:00
Ville Skyttä
370a550baf _mac_addresses: Grab addresses from FreeBSD's ifconfig -a output too. 2011-11-05 12:09:40 +02:00
Ville Skyttä
bfa8425a4a _known_hosts_real: Don't offer hostnames containing wildcards. 2011-11-05 00:59:13 +02:00
Ville Skyttä
333a5a50be _known_hosts_real: Handle more than two hostnames per known hosts line (Debian: #647352). 2011-11-05 00:53:39 +02:00
Ville Skyttä
b54d3f022f _known_hosts_real: Discard @markers at beginning of line. 2011-11-05 00:38:37 +02:00
Ville Skyttä
55ec6a079b plague-client: New completion. 2011-11-04 22:35:45 +02:00
Ville Skyttä
7db1c8e264 Create empty compatdir on "make install". 2011-11-04 22:13:30 +02:00
Ville Skyttä
6936a56c60 install-data-hook: Use $(compatdir). 2011-11-04 22:08:35 +02:00
Ville Skyttä
bbf5257209 install-data-hook: Avoid problematic mode bits for bash_completion from mktemp. 2011-11-04 22:05:46 +02:00
Ville Skyttä
0b4f797700 Unset _blacklist_glob when it's no longer needed. 2011-11-04 21:32:28 +02:00
Ville Skyttä
717cfed94f cowsay: Avoid error when completing -f when cowsay is not installed. 2011-11-04 21:17:58 +02:00
David Paleino
1ec0d6d336 Fix changelog 2011-11-03 12:22:00 +01:00
David Paleino
84e9e14dd8 Change version to 1.90 2011-11-03 12:21:58 +01:00
Ville Skyttä
c079969fd3 Fix symlinking in "make distcheck". 2011-11-01 23:17:40 +02:00
Ville Skyttä
e401bec263 Don't turn off indent-tabs-mode for everything, it's desirable e.g. for Makefiles. 2011-11-01 22:25:47 +02:00
Ville Skyttä
66fc912020 a2x: Split from asciidoc into separate file. 2011-11-01 22:25:41 +02:00
Ville Skyttä
52bdba591a Set up symlinks for dpkg-query. 2011-11-01 22:17:27 +02: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
15211e74fe Add 'versions' command to aptitude (Debian: #604393) 2011-11-01 20:32:45 +01:00
David Paleino
c0ea434660 Also complete on dpkg-query (Debian: #642526) 2011-11-01 20:23:53 +01:00
Ville Skyttä
ce128e7efe xmllint, xmlwf: Complete on *.tld (tag library descriptor). 2011-11-01 19:19:43 +02:00
Ville Skyttä
8890abfdfb unzip, jar: Complete on *.sar (JBoss service archive). 2011-11-01 19:18:54 +02:00
Ville Skyttä
2a88af018e cppcheck: Wrap long line. 2011-10-30 11:09:13 +02:00
Ville Skyttä
c07cc2ba43 cppcheck: -D can be followed by space, don't -o nospace it. 2011-10-30 11:07:38 +02:00
Ville Skyttä
c3f6eda088 cppcheck: Don't stop completing after -DFOO. 2011-10-30 11:06:13 +02:00
Ville Skyttä
6e08dc5504 testsuite/assert_source_completions: Test for command availability too.
We now install (_minimal) completions for just about everything, but
that doesn't mean we can sanely test everything if the command is not
available.
2011-10-26 21:24:56 +03:00
Ville Skyttä
099b47c66d kill, killall: Add some option and argument completions, simplify _signals. 2011-10-26 21:01:18 +03:00
Ville Skyttä
79ac9b5921 _command_offset: Fall back to _minimal instead of _filedir for oddball cases. 2011-10-26 20:46:00 +03:00
Ville Skyttä
22f88858ee _command_offset: Load undefined completions on demand. 2011-10-26 20:44:22 +03:00
Ville Skyttä
802a72fd8f _command_offset: Drop unused variables, define some others only when needed. 2011-10-26 19:56:22 +03:00
Ville Skyttä
5811d47f0e apt-build, apt-get, aptitude: Load _comp_dpkg_installed_packages on demand. 2011-10-26 19:29:33 +03:00
Ville Skyttä
889e1ae13e testsuite: Ignore BASH_REMATCH in env unmodified check.
_init_completion uses =~ now so it's going to change just about everywhere.
2011-10-25 23:50:46 +03:00
Ville Skyttä
b377dc5de8 Merge branch 'dynamic-loading' 2011-10-25 20:18:42 +03:00
Ville Skyttä
3b029892f6 _init_completion: Improve variable name completion.
Complete only things that look like variable names to make things like
$HOME/<TAB> and $(<TAB> pass through, and fix completion of variables
enclosed in braces.
2011-10-25 20:15:13 +03:00
Igor Murzov
1bdf31c894 Don't use full path in the _completion_loader() function. 2011-10-24 20:40:45 +03:00
Ville Skyttä
8fe4a73f9a _completion_loader: Use _minimal instead of _longopt as fallback.
_longopt may end up invoking the completed command with --help which
may not be safe for all arbitrary commands out there.
2011-10-23 11:32:13 +03:00
Ville Skyttä
c922626d4b cpan2dist: Don't hang if no package list files exist. 2011-10-23 11:13:50 +03:00
Ville Skyttä
f6cd9344fb _completion_loader: Use _longopt as the fallback. 2011-10-23 11:09:48 +03:00
Ville Skyttä
ff8e52c960 _init_completion: Complete variable names. 2011-10-23 11:02:46 +03:00
Ville Skyttä
fa5dbb6c8e mailman: Split completions to separate files from add_members. 2011-10-22 12:50:30 +03:00
Ville Skyttä
e850ee015e add_members, bk, gcc, mtx, munin-run, munindoc, mutt, p4, portinstall, postmap, ri, ypmatch: Avoid stderr spewage when needed commands/dirs are not available. 2011-10-22 11:48:23 +03:00
Ville Skyttä
5afc526850 Make _userland easier to use. 2011-10-16 10:56:44 +03:00