Apply cardctl completion to pccardctl too.

This commit is contained in:
Ville Skyttä 2009-10-11 21:17:29 +03:00
parent dfb23dc917
commit e2c1f4117f
2 changed files with 3 additions and 2 deletions

View File

@ -10,6 +10,7 @@ bash-completion (1.x)
* Include CHANGES in dist tarball.
* Include profile snippet in tarball, install it.
* Rename contrib/bluez-utils to contrib/bluez to follow bluez 4.x naming.
* Apply cardctl completion to pccardctl too.
-- David Paleino <d.paleino@gmail.com> Sun, 11 Oct 2009 11:11:57 +0200

View File

@ -1,6 +1,6 @@
# Linux cardctl(8) completion
have cardctl &&
have cardctl || have pccardctl &&
_cardctl()
{
local cur
@ -13,7 +13,7 @@ _cardctl()
resume reset eject insert scheme' -- "$cur" ) )
fi
} &&
complete -F _cardctl cardctl
complete -F _cardctl cardctl pccardctl
# Local variables:
# mode: shell-script