1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-28 14:22:22 +01:00
zsh/Doc/Zsh/mod_example.yo

18 lines
432 B
Text
Raw Normal View History

COMMENT(!MOD!zsh/example
An example of how to write a module.
!MOD!)
The tt(zsh/example) module makes available one builtin command:
1999-04-15 20:05:35 +02:00
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.