Configuration Information [Automatically generated, do not change]:
Machine: i586
OS: linux-gnu
Compiler: i586-mandrake-linux-gnu-gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i586'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i586-mandrake-linux-gnu'
-DCONF_VENDOR='mandrake' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib
-D_GNU_SOURCE -O2 -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro
uname output: Linux c17 2.4.21-0.27psd #18 Tue Feb 3 16:25:11 EST 2004 i686
unknown unknown GNU/Linux
Machine Type: i586-mandrake-linux-gnu
Bash Version: 2.05b
Patch Level: 0
Release Status: release
Description:
Bash has a clever TAB completion feature that will expand to
possible commands in PATH for the first word on a line and
then expand the second word to file names in the current
directory (because the second word is "obviously" a parameter
to be fed to the first word command).
When the first word on a line is "nice" the second word should
be expanded as a command from PATH rather than a file name
argument.
Repeat-By:
On my system;
cd /etc/cron.daily
tri[TAB]
expands (correctly) to "tripwire", but
nice tri[TAB]
expands (wrongly) to "nice tripwire-check".
Fix:
When the first word on a line is "nice" (or "type", "whereis",
"man", "info", etc.) don't change the TAB completion to its
"argument" mode.
--
Sig goes here ...
Peter D.