blob: 2cbf3d850dbfa84c8a60eb8f0fd21e58fa28dac4 [file]
_cal_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
case $cur in
-*)
OPTS=" --one
--three
--months
--span
--saturday
--sunday
--monday
--julian
--reform
--iso
--year
--twelve
--week
--vertical
--columns
--color=auto
--color=always
--color=never
--help"
--version
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
return 0
}
complete -F _cal_module cal