Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (22 sloc) 0.632 kB
_git_yui () {
local i c=1 command __git_dir
while [ $c -lt $COMP_CWORD ]; do
i="${COMP_WORDS[c]}"
case "$i" in
--git-dir=*) __git_dir="${i#--git-dir=}" ;;
--bare) __git_dir="." ;;
--version|-p|--paginate) ;;
--help) command="help"; break ;;
*) command="$i"; break ;;
esac
c=$((++c))
done
if [ "$command" == "yui" ]; then
#local cur="${COMP_WORDS[COMP_CWORD]}"
local subcommands="up merge sync build docs lint forks pullrequest create network commits comment ticket my log"
__gitcomp "$subcommands"
else
_git
fi
}
complete -o default -o nospace -F _git_yui git
Jump to Line
Something went wrong with that request. Please try again.