Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: CLI Tricks
- X-seq: zsh-users 6868
- From: Hisham Muhammad <hisham.lists@xxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: CLI Tricks
- Date: Fri, 12 Dec 2003 13:11:56 -0200
- In-reply-to: <20031212114809.GL2710@xxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <ge9jtvgbe5b8ht7motdbfq9ggsjmfsq50d@xxxxxxx> <20031212114809.GL2710@xxxxxx>
On Friday 12 December 2003 09:48, you wrote:
> On Fri, Dec 12, 2003 at 11:32:39AM +0000, zzapper wrote:
> > B)
> >
> > I've read somewhere that I can repeat the previous keyword when typing
> > a command
> >
> > eg
> >
> > > cp verylongfilename (control metachar)
> >
> > and you get
> >
> > > cp verylongfilename verylongfilename
>
> You want the copy-prev-word function which is by default bound to
> Esc Ctrl-_
How interesting! Didn't know about that. I played a bit with it and was
intrigued by its behavior with filenames with spaces, but then 'man zshzle'
told me there's a copy-prev-shell-word which does the same but works with
spaces. The manpage, however, says both are bound to the same key by default
(a documentation bug?).
--
Hisham Muhammad
"...and this is the first step."
Messages sorted by:
Reverse Date,
Date,
Thread,
Author