[Bash-completion-devel] ./current r1326: Improved strace completion, undefined _command_offset() found.
Freddy Vulto
fvulto at gmail.com
Fri Feb 6 08:10:45 UTC 2009
Hello Guillaume,
I can't reproduce your problem, maybe it's distribution specific?
I've tried on Debian 4.0 with latest bash-completion from bzr and
`sudo vim <TAB>' and `sudo chown <TAB>' run fine. `sudo rpm -q ' on
Debian is giving me whole other problems though:
---8<-------------------------------------------------------------------
$ bash --norc
$ . bash_completion
$ sudo vim /etc/pass<TAB>
passwd passwd-
$ sudo vim /etc/passwd<^C>
$ sudo chown roo<TAB> # Becomes next line --v
$ sudo chown root\: <^C>
$ sudo rpm -q <TAB>rpm: To install rpm packages on Debian systems, use
alien. See README.Debian.
error: cannot open Packages index using db3 - No such file or directory (2)
error: cannot open Packages database in /var/lib/rpm
bash: bad substitution: no closing `)' in $(
compgen -d -- "$(quote_readline "$cur")" | {
while read -r tmp; do
# TODO: I've removed a "[ -n $tmp ] &&" before,
# and everything works again. If this bug
# suddenly appears again (i.e. "cd /b<TAB>"
# becomes "cd /"), remember to check for
# other similar conditionals (here and
# _filedir_xspec()). --David
echo $tmp
done
}
)
$
---8<-------------------------------------------------------------------
Regards, Freddy Vulto
More information about the Bash-completion-devel
mailing list