Apply cardctl completion to pccardctl too.
This commit is contained in:
parent
dfb23dc917
commit
e2c1f4117f
1
CHANGES
1
CHANGES
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user