diff options
author | Clint Adams <clint@users.sourceforge.net> | 2008-03-12 23:35:25 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2008-03-12 23:35:25 +0000 |
commit | 37a7e813905ceba883493a70f81ab8695627662f (patch) | |
tree | 4444d274ae8ae26f02dcac159ee7a52d42a3b52e | |
parent | b78caa8ec49317e7d42c8c0b0b71ae196f253524 (diff) | |
download | zsh-37a7e813905ceba883493a70f81ab8695627662f.tar.gz zsh-37a7e813905ceba883493a70f81ab8695627662f.tar.xz zsh-37a7e813905ceba883493a70f81ab8695627662f.zip |
24704: completion for BSD calendar.
-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:' + |