#compdef readable
###-begin-readable-completions-###
#
# yargs command completion script
#
# Installation: readable --completion >> ~/.zshrc
#    or readable --completion >> ~/.zprofile on OSX.
#
_readable_yargs_completions()
{
  local reply
  local si=$IFS
  IFS=$'
' reply=($(COMP_CWORD="$((CURRENT-1))" COMP_LINE="$BUFFER" COMP_POINT="$CURSOR" readable --get-yargs-completions "${words[@]}"))
  IFS=$si
  _describe 'values' reply
}
compdef _readable_yargs_completions readable
###-end-readable-completions-###

