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 CHANGES in dist tarball.
* Include profile snippet in tarball, install it. * Include profile snippet in tarball, install it.
* Rename contrib/bluez-utils to contrib/bluez to follow bluez 4.x naming. * 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 -- David Paleino <d.paleino@gmail.com> Sun, 11 Oct 2009 11:11:57 +0200

View File

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