File: mod_example.yo

package info (click to toggle)
zsh 4.3.10-14
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 18,996 kB
  • ctags: 8,081
  • sloc: ansic: 92,269; sh: 5,580; makefile: 844; perl: 619; awk: 381; sed: 16
file content (17 lines) | stat: -rw-r--r-- 432 bytes parent folder | download | duplicates (19)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
COMMENT(!MOD!zsh/example
An example of how to write a module.
!MOD!)
The tt(zsh/example) module makes available one builtin command:

startitem()
findex(example)
cindex(modules, example)
cindex(modules, writing)
cindex(writing modules)
item(tt(example) [ tt(-flags) ] [ var(args) ... ])(
Displays the flags and arguments it is invoked with.
)
enditem()

The purpose of the module is to serve as an example of how to write a
module.