The following commit has been merged in the master branch:
commit 503c224899115dd533fc1fa56bb868dfc6a63487
Author: Ville Skyttä <[email protected]>
Date:   Sat Oct 31 14:16:39 2009 +0200

    Don't hardcode path to ifconfig.

diff --git a/contrib/ssh b/contrib/ssh
index eaa168c..8a95f6c 100644
--- a/contrib/ssh
+++ b/contrib/ssh
@@ -65,7 +65,7 @@ _ssh()
             return 0
             ;;
         -b)
-            COMPREPLY=( $( compgen -W "$(/sbin/ifconfig | \
+            COMPREPLY=( $( compgen -W "$( PATH="$PATH:/sbin" ifconfig | \
                 awk '/adr:/ {print $2}' | awk -F: '{print $2}' )" -- "$cur" ) )
             return 0
             ;;

-- 
bash-completion

_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-commits

Reply via email to