[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 29ee9fb3f973ad249806c1b412716330d76f06b2
Ville Skyttä
ville.skytta at iki.fi
Sat Oct 31 12:12:55 UTC 2009
The following commit has been merged in the master branch:
commit 29ee9fb3f973ad249806c1b412716330d76f06b2
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Sat Oct 31 14:08:43 2009 +0200
Use _available_interfaces in route dev completion.
diff --git a/contrib/net-tools b/contrib/net-tools
index a88aa2a..580c05e 100644
--- a/contrib/net-tools
+++ b/contrib/net-tools
@@ -80,7 +80,7 @@ _route()
prev=${COMP_WORDS[COMP_CWORD-1]}
if [ "$prev" = dev ]; then
- COMPREPLY=( $( ifconfig -a | sed -ne 's|^\('$cur'[^ ]*\).*$|\1|p' ))
+ _available_interfaces
return 0
fi
--
bash-completion
More information about the Bash-completion-commits
mailing list