Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

zsh custom pipeline handler



Hi,

How can i define my own builtin, which can get pipeline, like zsh's
builtin "repeat"?

For example, i want my own repeat function, which will work like
builtin:
myrepeat 2 date|wc -l

Thank you in advance!



Messages sorted by: Reverse Date, Date, Thread, Author