# (C) 2010 magicant

# Completion script for the "alias" built-in command.

function completion/alias {

	typeset OPTIONS ARGOPT PREFIX
	OPTIONS=( #>#
	"g --global; define global aliases"
	"p --prefix; print aliases as reusable shell commands"
	"--help"
	) #<#

	command -f completion//parseoptions -es
	case $ARGOPT in
	(-)
		command -f completion//completeoptions
		;;
	(*)
		complete -a
		;;
	esac

}


# vim: set ft=sh ts=8 sts=8 sw=8 noet:
