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

This commit is contained in:
Sergey V 2011-01-06 19:20:50 +03:00
parent 600b0eb366
commit f6e04085f9

View File

@ -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