Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zle functionality in scripts?
- X-seq: zsh-users 9121
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: zle functionality in scripts?
- Date: Thu, 21 Jul 2005 07:02:34 +0000
- In-reply-to: <20050721004857.GA7626@xxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20050721004857.GA7626@xxxxxxxxxxxxxxxxxxxxx>
On Jul 20, 5:48pm, Tyler Spivey wrote:
}
} Is there a way that I can get command line editing functionality in
} scripts?
vared
OK, so maybe a one-word answer isn't quite enough.
Look up the "vared" ("var"iable "ed"itor) builtin. Unless you have a
very old version of zsh, vared uses zle even when invoked from a script.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author