Activate hping2 completion also for hping and hping3.
This commit is contained in:
parent
f531998576
commit
f374d13516
3
CHANGES
3
CHANGES
@ -3,6 +3,9 @@ bash-completion (2.x)
|
|||||||
[ David Paleino ]
|
[ David Paleino ]
|
||||||
* Start work on 2.0
|
* Start work on 2.0
|
||||||
|
|
||||||
|
[ Ville Skyttä ]
|
||||||
|
* Activate hping2 completion also for hping and hping3.
|
||||||
|
|
||||||
-- David Paleino <d.paleino@gmail.com> Wed, 16 Jun 2010 17:53:22 +0200
|
-- David Paleino <d.paleino@gmail.com> Wed, 16 Jun 2010 17:53:22 +0200
|
||||||
|
|
||||||
bash-completion (1.2)
|
bash-completion (1.2)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# bash completion for hping2
|
# bash completion for hping2
|
||||||
|
|
||||||
have hping2 &&
|
have hping || have hping2 || have hping3 &&
|
||||||
_hping2()
|
_hping2()
|
||||||
{
|
{
|
||||||
local cur prev
|
local cur prev
|
||||||
@ -44,7 +44,7 @@ _hping2()
|
|||||||
_known_hosts_real "$cur"
|
_known_hosts_real "$cur"
|
||||||
fi
|
fi
|
||||||
} &&
|
} &&
|
||||||
complete -F _hping2 hping2 hping
|
complete -F _hping2 hping hping2 hping3
|
||||||
|
|
||||||
# Local variables:
|
# Local variables:
|
||||||
# mode: shell-script
|
# mode: shell-script
|
||||||
|
Loading…
x
Reference in New Issue
Block a user