Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
A shell completion for Brett Terpstra's doing command line utility http://brettterpstra.com/projects/doing/
_doing()
{
local cur=${COMP_WORDS[COMP_CWORD]}
COMPREPLY=( $(compgen -W "$(doing help -c)" -- $cur) )
}
complete -F _doing doing

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment