Skip to content

Instantly share code, notes, and snippets.

@fcrespo82
Last active August 29, 2015 13:57
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fcrespo82/9609318 to your computer and use it in GitHub Desktop.
Save fcrespo82/9609318 to your computer and use it in GitHub Desktop.
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
@EvanLovely
Copy link

Thanks!

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