Igor Murzov
fb2d657fac
man: --path option is supported on Darwin (Alioth: #313584 )
2012-03-25 18:14:10 +04:00
Igor Murzov
199a63bd4d
insmod, modprobe: Don't hardcode path to modinfo (Alioth: #313569 )
2012-03-14 01:00:22 +04:00
Ville Skyttä
a062777d4b
lyx: Remove simple completion, upstream has more complete one (Debian: #662203 )
2012-03-11 19:44:34 +02:00
Ville Skyttä
bed5694111
vmstat: New completion.
2012-02-21 22:00:39 +02:00
Ville Skyttä
91528b5271
su: Complete -s/--shell with shells instead of all files.
2012-02-18 10:14:29 +02:00
Ville Skyttä
e7c4035089
su: Add --session-command arg completion.
2012-02-18 10:13:24 +02:00
Ville Skyttä
e4fe946621
su: Fix long option handling.
2012-02-18 10:12:02 +02:00
Ville Skyttä
f41d7e2ff6
testsuite: Add basic su test case.
2012-02-18 10:10:38 +02:00
Igor Murzov
d2aedc83e1
su: Add linux-specific completion
2012-02-17 05:14:51 +04:00
David Paleino
071ba93a0b
Really complete 'changelog'
2012-02-10 20:44:10 +01:00
David Paleino
ae98bfa721
apt-get: add 'changelog' to completed commands
2012-02-10 20:41:26 +01:00
Ville Skyttä
cff897eda8
pigz: Add -p/--processes arg completion.
2012-02-06 23:51:17 +02:00
Anthony Ramine
ec7fe00066
Properly declare 'symlinks' dependencies
2012-02-06 10:28:41 +01:00
Igor Murzov
98f90ebdf8
_filedir: Properly quote paths to avoid unexpected expansion.
2012-01-20 05:11:17 +04:00
Ville Skyttä
d7a6fb1f47
testsuite: Fix spurious modinfo and modprobe test failures on systems that have /lib and /lib64 dirs.
2012-01-18 23:43:11 +02:00
guns
6f3d650e23
Workaround bash bug that fails to complete <, >
...
There is a bug in bash that causes completions of some of the
redirection operators to fail if a default completion function is
defined.
The details are in the following bug-bash mailing list message, but put
simply, when completing a command line "> ", bash mistakenly searches
the completions table for an empty string, and failing that, sends
the default completion function not an empty string, but the actual
redirection operator '>' as the first argument.
http://lists.gnu.org/archive/html/bug-bash/2012-01/msg00045.html
This is quite simply worked around for the moment by defining the
_minimal completion for the empty string. This allows filename
completion for people who like to:
$ > cats.txt # Truncate files quickly
$ >> cats.txt # Use redirection as a quick 'touch'
$ < cats.txt cat # Use redirection at the beginning of the
# command line
Given the slow bash upgrade cycle for various operating systems, a
workaround for this issue will be necessary for a long time.
2012-01-18 23:35:54 +02:00
Ville Skyttä
45c0886acc
mplayer: Add generic handling of options that take arguments.
2012-01-15 14:24:38 +02:00
Ville Skyttä
a90d7d861a
mplayer: Add -monitoraspect arg completion.
2012-01-15 14:00:33 +02:00
Ville Skyttä
d02b4e15e3
insmod: Install for insmod.static too.
2012-01-14 11:43:15 +02:00
Ville Skyttä
068e422222
testsuite/generate: Generate less linefeeds.
2012-01-14 11:42:07 +02:00
Ville Skyttä
47c49dbfec
rmmod: Add option completions.
2012-01-14 11:40:54 +02:00
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
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