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

Sergey V sftp.mtuci at gmail.com
Mon May 2 10:27:48 UTC 2011


The following commit has been merged in the master branch:
commit f6e04085f99d619617a945183ee435f88fbf14a5
Author: Sergey V <sftp.mtuci at gmail.com>
Date:   Thu Jan 6 19:20:50 2011 +0300

    sbopkg: added queue files completion to '-b' and '-i' optoins

diff --git a/completions/sbopkg b/completions/sbopkg
index c562483..1bc71bb 100644
--- a/completions/sbopkg
+++ b/completions/sbopkg
@@ -76,7 +76,8 @@ _sbopkg()
                 return 0
             fi
             COMPREPLY=( $( grep "^SLACKBUILD NAME: $cur" \
-                $REPO_ROOT/$REPO_NAME/$REPO_BRANCH/SLACKBUILDS.TXT | cut -f3- -d\  ) )
+                    $REPO_ROOT/$REPO_NAME/$REPO_BRANCH/SLACKBUILDS.TXT | cut -f3- -d\  ) 
+                $( (cd $QUEUEDIR; ls $cur*.sqf 2> /dev/null) ) )
             return 0
             ;;
     esac

-- 
bash-completion



More information about the Bash-completion-commits mailing list