[Bash-completion-commits] [SCM] bash-completion branch, master, updated. e28d19ef4c413d850dd5a80e2ea3907f50608d70
Guillaume Rousse
guillomovitch at zarb.org
Mon Apr 19 18:02:46 UTC 2010
The following commit has been merged in the master branch:
commit 89de94b2c71a31dfec38a2c2a20fe9d7830d747c
Author: Guillaume Rousse <guillomovitch at zarb.org>
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
More information about the Bash-completion-commits
mailing list