Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Is there a kind of function factory in zsh?
- X-seq: zsh-users 15109
- From: "Alexey I. Froloff" <raorn@xxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: Is there a kind of function factory in zsh?
- Date: Tue, 8 Jun 2010 20:00:55 +0400
- In-reply-to: <4C0E612E.8060604@xxxxxxxxxxxxxx>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <4C0E612E.8060604@xxxxxxxxxxxxxx>
On Tue, Jun 08, 2010 at 05:26:38PM +0200, Leander Jedamus wrote:
> How can I avoid writing all that code again and again?
Try precmd() function. man zshall -> SPECIAL FUNCTIONS -> Hook
Functions.
--
Regards, --
Sir Raorn. --- http://thousandsofhate.blogspot.com/
Attachment:
signature.asc
Description: Digital signature
Messages sorted by:
Reverse Date,
Date,
Thread,
Author