The following commit has been merged in the master branch:
commit 89de94b2c71a31dfec38a2c2a20fe9d7830d747c
Author: Guillaume Rousse <[email protected]>
Date: Mon Apr 19 19:45:06 2010 +0200
fix interface completion, nd use _get_pword function
diff --git a/contrib/dsniff b/contrib/dsniff
index 055d201..95875be 100644
--- a/contrib/dsniff
+++ b/contrib/dsniff
@@ -7,11 +7,11 @@ _arpspoof()
COMPREPLY=()
cur=`_get_cword`
- prev=${COMP_WORDS[COMP_CWORD-1]}
+ prev=`_get_pword`
case $prev in
-i)
- _interfaces
+ _available_interfaces
return 0
;;
-t)
--
bash-completion
_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-commits