File: _fortune

package info (click to toggle)
zsh-beta 4.3.6-dev-0%2B20080723-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 14,752 kB
  • ctags: 7,403
  • sloc: ansic: 90,889; sh: 5,568; makefile: 836; perl: 745; awk: 381; sed: 16
file content (15 lines) | stat: -rw-r--r-- 601 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#compdef fortune

_arguments \
  '-a[choose from all lists of maxims, both offensive and not]' \
  '-c[show the cookie file from which the fortune came]' \
  '-e[consider all fortune files to be of equal size]' \
  '-f[print out the list of files which would be searched]' \
  '-l[long dictums only]' \
  '-m[print all matches to regex]:BRE' \
  '-n[set longest length to be short]:length' \
  '-o[choose only from potentially offensive aphorisms]' \
  '-s[short apothegms only]' \
  '-i[ignore case for -m patterns]' \
  '-w[wait before termination for a time based on msg length]' \
  '*:databases'