3213 Commits

Author SHA1 Message Date
Igor Murzov
f67818e023 modprobe, modinfo, insmod: Move modprobe and modinfo completions to their own files.
Also fix some options handling and errors in unusual usecases (Alioth: #313498).
Patch is partially written by Lekensteyn <lekensteyn@gmail.com>
Reviewed-by: Sergey V <sftp.mtuci@gmail.com>
2012-01-13 00:19:26 +04:00
Igor Murzov
db53fc77a5 _modules: Ignore error messages. 2012-01-13 00:17:51 +04:00
Igor Murzov
1cb1e31e18 mount.linux: Add some new mount options intoduced in Linux 3.0-3.2
Also add jffs2 to the fs list.
See: http://kernelnewbies.org/Linux_3.2
2012-01-13 00:17:51 +04:00
David Paleino
2ad325d4af Revert "Fix completion loading when a symlink is sourced, thanks to Jonathan Nieder"
This reverts commit 318759c8497cfce3704bc1b97c41459a5be08f7b.
2012-01-11 21:48:35 +01:00
David Paleino
318759c849 Fix completion loading when a symlink is sourced, thanks to Jonathan Nieder 2012-01-11 14:37:15 +01:00
Igor Murzov
2e975278c5 _command_offset: Properly quote arguments of eval (Alioth: #313499). 2012-01-10 03:50:00 +04:00
Igor Murzov
b515b0dd38 Merge remote-tracking branch 'origin/sudo'
* origin/sudo:
  sudoedit: New completion.
  sudo: Fix option list parsing
  sudo: Handle options (Alioth: #311414).
2012-01-09 16:25:00 +04:00
Ville Skyttä
694313874a pwd: New completion. 2012-01-08 16:44:53 +02:00
David Paleino
5eaf276b5f Release 1.99 -- hopefully the last 2.0 preview 2012-01-08 00:17:28 +01:00
Ville Skyttä
28f15fd05c ssh-add: New completion. 2012-01-07 09:42:53 +02:00
Ville Skyttä
3ccfe020a2 dmesg: Adapt to versions returning long options. 2012-01-01 14:54:11 +02:00
Ville Skyttä
fabf0e2d35 Some trivial nounset error fixes. 2012-01-01 14:46:59 +02:00
Ville Skyttä
d4416acccc _filedir, _tilde: Ignore compopt stderr for direct invocations in unit tests. 2012-01-01 14:42:39 +02:00
Ville Skyttä
5882061fec Revert "testsuite(_filedir): Ignore compopt error msg when invoking _filedir directly."
This reverts commit 8726cb1970510c4af90cd5655c09818fcef663ce.
2012-01-01 14:35:05 +02:00
Ville Skyttä
8726cb1970 testsuite(_filedir): Ignore compopt error msg when invoking _filedir directly.
The error message is printed since commit 5fcaad8.
2012-01-01 14:21:08 +02:00
Igor Murzov
d0a14954ab sudoedit: New completion. 2011-12-29 23:36:32 +04:00
Ville Skyttä
59a8a9c41b pgrep, pkill, killall: Base pkill on pgrep, add more option completions. 2011-12-27 21:52:58 +02:00
Ville Skyttä
5fcaad8756 cleanups: Drop some no longer needed stderr redirections. 2011-12-26 21:47:51 +02:00
Ville Skyttä
9ba0476b9e Fix BASH_COMPLETION_COMPAT_DIR comment. 2011-12-26 16:09:00 +02:00
Ville Skyttä
2622723ae9 udevadm: New completion. 2011-12-21 23:49:51 +02:00
Igor Murzov
e6bef775a5 gcc: Don't use \t in sed as it's not POSIX compliant. 2011-12-21 01:03:21 +04:00
Igor Murzov
15f5c80c2e Revert "route: Don't check $OSTYPE (Alioth: #311407)."
This reverts commit dab2f3c5519d01902e795e583b0546eb30bd04c7.
It broke at least FreeBSD route completion.
2011-12-21 00:56:34 +04:00
Igor Murzov
6621f37c5d sudo: Fix option list parsing 2011-12-20 20:33:31 +04:00
Igor Murzov
08a2264c82 htop: Get user names directly with compgen -u. 2011-12-20 19:56:37 +04:00
Igor Murzov
91a61afe59 sudo: Handle options (Alioth: #311414). 2011-12-20 19:56:37 +04:00
Igor Murzov
f17f31057f gcc: Remove unnecessary calls to tr and sort. 2011-12-20 19:56:36 +04:00
Igor Murzov
3be0b26581 gcc: Don't allow "[]<>" in options list. 2011-12-20 19:56:36 +04:00
Igor Murzov
dab2f3c551 route: Don't check $OSTYPE (Alioth: #311407). 2011-12-20 19:56:35 +04:00
Ville Skyttä
ae34153c85 cc, c++: Install gcc completion if compiler looks like GCC (Alioth: #311408). 2011-12-20 00:36:39 +02:00
Igor Murzov
0c4b054b14 kcov: kcov has man page now. 2011-12-19 03:56:43 +04:00
Igor Murzov
86be92a17e avctrl, dnsspoof: Add "avctrl" and "dnsspoof" to completions/Makefile.am
Somehow they were abandoned in 156656c16d4302d059221a06eb7c1bd460e41fe9.
Also resort bashcomp_DATA alphabetically.
2011-12-19 03:55:15 +04:00
Igor Murzov
5dba39cbd3 htop: New completoin. 2011-12-18 21:59:15 +04:00
Florian Hubold
bb5200695b xv: Add *.eps and *.ps to filename completions (Alioth: #313477). 2011-12-17 11:19:40 +02:00
Igor Murzov
1f15ab7eae Merge branch 'mount'
* mount:
  testsuite: Add basic tests for umount.
  umount: Real fix for completion of relative paths.
  umount: Half-fix for completion of relative paths.
  mount: Don't suggest short options.
  mount, umount: Add linux-specific completions.
2011-12-15 19:49:34 +04:00
Ville Skyttä
a229ea46e7 _parse_help, _parse_usage: More command arg sanitization.
http://thread.gmane.org/gmane.comp.shells.bash.completion.devel/3620
2011-12-14 21:54:49 +02:00
Igor Murzov
2c4d20a02e cppcheck: Several ids separated by commas can be given for --enable=. 2011-12-14 19:23:55 +04:00
Igor Murzov
be085fbe23 id: Add "id" to completions/Makefile.am.
Somehow "id" was abandoned in 156656c16d4302d059221a06eb7c1bd460e41fe9.
2011-12-14 19:06:44 +04:00
Igor Murzov
3f74a9f918 cppcheck: Add new options introduced in cppcheck-1.52. 2011-12-14 18:56:41 +04:00
Ville Skyttä
260e2a1eeb quote: Preserve leading, trailing, and consecutive whitespace. 2011-12-12 00:22:09 +02:00
Raphaël Droz
723b0771ad _ip_addresses: Make it locale agnostic. 2011-12-11 22:26:52 +02:00
Ville Skyttä
4fa2616e70 Document $split && return. 2011-12-11 22:23:06 +02:00
Ville Skyttä
f09ced610d lzip: New completion. 2011-12-10 18:27:21 +02:00
Ville Skyttä
17c9722733 _known_hosts_real: Support > 1 files per *KnownHostsFile line (Debian: #650514). 2011-12-05 21:58:04 +02:00
Ville Skyttä
da4956af1f curl: Add bunch of new option argument completions. 2011-12-05 00:32:24 +02:00
Raphaël Droz
f8b28a5827 Added a word about compopt -o nospace in styleguide.txt.
Modified-by: Ville Skyttä <ville.skytta@iki.fi>
2011-12-04 22:32:06 +02:00
Igor Murzov
98fe4713a3 _modules: Follow symlinks in /lib/modules/$(uname -r) (Alioth: #313461) 2011-12-04 17:31:41 +04:00
Ville Skyttä
3b7f785cb5 lrzip: -T no longer takes an argument since version 0.570. 2011-12-04 12:48:16 +02:00
Igor Murzov
0b9351534c testsuite: Add basic tests for umount. 2011-12-04 05:41:59 +04:00
Igor Murzov
54bcdff3cf umount: Real fix for completion of relative paths. 2011-12-04 05:34:25 +04:00
Igor Murzov
7a1a3da08a umount: Half-fix for completion of relative paths. 2011-12-04 02:41:46 +04:00