[Bash-completion-commits] [SCM] bash-completion branch, master, updated. e2c1f4117fe8db3a221e73fd9dfd2842ca7970e1
Ville Skyttä
ville.skytta at iki.fi
Sun Oct 11 18:17:33 UTC 2009
The following commit has been merged in the master branch:
commit e2c1f4117fe8db3a221e73fd9dfd2842ca7970e1
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Sun Oct 11 21:17:29 2009 +0300
Apply cardctl completion to pccardctl too.
diff --git a/CHANGES b/CHANGES
index 54b32bc..4a4167d 100644
--- a/CHANGES
+++ b/CHANGES
@@ -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 at gmail.com> Sun, 11 Oct 2009 11:11:57 +0200
diff --git a/contrib/cardctl b/contrib/cardctl
index c16c52d..dfd7403 100644
--- a/contrib/cardctl
+++ b/contrib/cardctl
@@ -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
--
bash-completion
More information about the Bash-completion-commits
mailing list