[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-235-g26ae770

Igor Murzov igor at gplsoft.org
Mon May 2 10:26:55 UTC 2011


The following commit has been merged in the master branch:
commit b9ea1a9b5758028c618d976b01e69e1e684c5b40
Author: Igor Murzov <igor at gplsoft.org>
Date:   Mon May 24 00:14:02 2010 +0400

    Remove unused variable

diff --git a/contrib/pkgtools b/contrib/pkgtools
index 229c74d..498ce04 100644
--- a/contrib/pkgtools
+++ b/contrib/pkgtools
@@ -45,10 +45,8 @@ complete -F _pkgtool -o filenames pkgtool
 have removepkg && [ -f /etc/slackware-version ] &&
 _removepkg()
 {
-    local packages cur
-
     COMPREPLY=()
-    cur=`_get_cword`
+    local cur=`_get_cword`
 
     COMPREPLY=( $( (cd /var/log/packages; compgen -f -- "$cur") ) )
 } &&

-- 
bash-completion



More information about the Bash-completion-commits mailing list