[Bug 1030025] Re: Missing programmable bash completions for host and ping commands
Peter Cordes
peter at cordes.ca
Sun Nov 30 10:41:08 UTC 2014
In Trusty, ping is handled by _ping, so custom code just for ping.
host just gets the generic _minimal.
completion for host was removed in commit
bd482ca2f221323aa461ca75c9457ec11f43570e
host, nslookup: Remove completions for bind utils from
bash_completion.
This fixes tests on systems without bind.
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi?p=bash-
completion/bash-
completion.git;a=object;h=bd482ca2f221323aa461ca75c9457ec11f43570e
(followed by a commit that reverted that, then followed by a commit that
reverted the reversion, putting this commit back in.)
Seems like a crappy reason to take out a useful completion.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash-completion in Ubuntu.
https://bugs.launchpad.net/bugs/1030025
Title:
Missing programmable bash completions for host and ping commands
Status in bash-completion package in Ubuntu:
Confirmed
Bug description:
Hi,
It seems that the host and ping programmable completions are no longer
available in quantal?
[hloeung at darkon etc]$ complete | grep known_hosts
complete -F _known_hosts rlogin
complete -F _known_hosts ftp
complete -F _known_hosts tracepath6
complete -F _known_hosts tracepath
complete -F _known_hosts mtr
complete -F _known_hosts traceroute6
complete -F _known_hosts fping
complete -F _known_hosts ssh-installkeys
complete -F _known_hosts rsh
complete -F _known_hosts dig
complete -F _known_hosts telnet
complete -F _known_hosts showmount
complete -F _known_hosts fping6
complete -F _known_hosts traceroute
[hloeung at darkon etc]$ complete | grep known_hosts | wc -l
14
On a precise host, I get:
hloeung at hadar:~$ complete | grep known_hosts
complete -F _known_hosts rlogin
complete -F _known_hosts ftp
complete -F _known_hosts tracepath6
complete -F _known_hosts host
complete -F _known_hosts tracepath
complete -F _known_hosts ping
complete -F _known_hosts mtr
complete -F _known_hosts traceroute6
complete -F _known_hosts fping
complete -F _known_hosts ping6
complete -F _known_hosts ssh-installkeys
complete -F _known_hosts rsh
complete -F _known_hosts dig
complete -F _known_hosts telnet
complete -F _known_hosts showmount
complete -F _known_hosts fping6
complete -F _known_hosts traceroute
hloeung at hadar:~$ complete | grep known_hosts | wc -l
17
I can't seem to recall the last time host and ping used to work but
I'm pretty sure it's only started recently? Any chance someone could
take a look?
Thanks,
Haw
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1030025/+subscriptions
More information about the foundations-bugs
mailing list