diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Unix/Command/_calendar | 12 |
2 files changed, 17 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index fb7735a93..cb323769d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-03-12 Clint Adams <clint@zsh.org> + + * 24704: Completion/Unix/Command/_calendar: completion for BSD + calendar. + 2008-03-11 Barton E. Schaefer <schaefer@zsh.org> * 24703: Src/Zle/zle_main.c: clear trashedzle when first starting diff --git a/Completion/Unix/Command/_calendar b/Completion/Unix/Command/_calendar new file mode 100644 index 000000000..10adfb700 --- /dev/null +++ b/Completion/Unix/Command/_calendar @@ -0,0 +1,12 @@ +#compdef calendar + +_arguments \ + '-a[process files of all users]' \ + '-A[print today and the following num days]:number of days:' \ + '-b[enforce special KOI8 date calculation mode]' \ + '-B[print today and the previous num days]:number of days:' \ + '-f[use file as the default calendar]:calendar file:_files' \ + '-l[print today and the following num days]:number of days:' \ + '-w[print today and the following num days only if today is Friday]:number of days:' \ + '-t[act as though today is the date specified]:date:' + |