From: Hisham Muhammad <hisham.lists@terra.com.br>
To: zsh-users@sunsite.dk
Subject: Re: CLI Tricks
Date: Fri, 12 Dec 2003 13:11:56 -0200 [thread overview]
Message-ID: <200312121311.56353.hisham.lists@terra.com.br> (raw)
In-Reply-To: <20031212114809.GL2710@gmx.de>
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."
next prev parent reply other threads:[~2003-12-12 15:12 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-12 11:32 zzapper
2003-12-12 11:38 ` zzapper
2003-12-12 16:42 ` Bart Schaefer
2003-12-12 17:25 ` zzapper
2003-12-12 18:19 ` Peter Stephenson
2003-12-12 18:40 ` Pavol Juhas
2003-12-12 11:48 ` Dominik Vogt
2003-12-12 11:56 ` zzapper
2003-12-12 12:39 ` Thomas Köhler
2003-12-12 14:58 ` zzapper
2003-12-12 15:11 ` Hisham Muhammad [this message]
2003-12-12 17:10 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200312121311.56353.hisham.lists@terra.com.br \
--to=hisham.lists@terra.com.br \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).