From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-users@sunsite.dk
Subject: Re: CLI Tricks
Date: Fri, 12 Dec 2003 17:10:24 +0000 [thread overview]
Message-ID: <1031212171024.ZM4114@candle.brasslantern.com> (raw)
In-Reply-To: <200312121311.56353.hisham.lists@terra.com.br>
On Dec 12, 1:11pm, Hisham Muhammad wrote:
}
} > You want the copy-prev-word function
}
} '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?).
Yes, it's a doc bug; copy-prev-shell-word is a recent addition, and the
entry for it was created by cut+paste+edit of the copy-prev-word entry.
Index: Doc/Zsh/zle.yo
===================================================================
--- zle.yo 23 Sep 2003 15:27:14 -0000 1.9
+++ zle.yo 12 Dec 2003 17:07:53 -0000
@@ -1184,7 +1184,7 @@
Duplicate the word to the left of the cursor.
)
tindex(copy-prev-shell-word)
-item(tt(copy-prev-shell-word) (ESC-^_) (unbound) (unbound))(
+item(tt(copy-prev-shell-word))(
Like tt(copy-prev-word), but the word is found by using shell parsing,
whereas tt(copy-prev-word) looks for blanks. This makes a difference
when the word is quoted and contains spaces.
prev parent reply other threads:[~2003-12-12 17:10 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
2003-12-12 17:10 ` Bart Schaefer [this message]
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=1031212171024.ZM4114@candle.brasslantern.com \
--to=schaefer@brasslantern.com \
--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).