Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: "Alt ." to repeat last part of a command
- X-seq: zsh-users 15030
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Carlo Trimarchi <mr.spoon21@xxxxxxxxx>
- Subject: Re: "Alt ." to repeat last part of a command
- Date: Sun, 25 Apr 2010 14:46:38 +0200
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=n826jUWrQbT4e2oNMxNj6FMNc+mAD0fJ+TVHBIVGDgM=; b=CMa09Z4igY13rkcskvOtQw0YyehX1hz1NWtuiZ0t3qwWP0uhDXPfKPwokKQystpAsh n5xSwrx+o6yysHx3etui39dg85RZjRg41NNZr3KPuIcD+gyFyyXofNvOBHbMtY4Wpa4Y KnKOtaV0z3kF1LOpHtzGzkis3TpQJdux6gigs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=CS8qiaIwYdFqDgInK8TMmG2iEeciPRJ2Rd0iGP8VT2ytpanW/D8kEjhSmUCjzTqZ4d a46yDgByxDJabaoPxDLVUZnMJbpLzL5i1yiwvjfOVod6E+tsYv0OoT/yGowVbGpt3de9 IzHaVDpc8/Mj0fXaRHPP8Qz8OT2Xu02zNX/AY=
- In-reply-to: <p2m8f67b6f81004250509t89b24a75p45ba6cbaf5681f8e@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: <g2r8f67b6f81004230214j86a58e34r974261cb88ea1250@xxxxxxxxxxxxxx> <20100423092734.GA7499@xxxxxxxxxxxxxxxxxxx> <o2k8f67b6f81004230249i9377d8ev8f499ee9dfd7ffd@xxxxxxxxxxxxxx> <i2y1b26d5c61004230834s6b0ffe4dla8664b56276f0226@xxxxxxxxxxxxxx> <p2y8f67b6f81004230910r42565790va3769a9bb28cb786@xxxxxxxxxxxxxx> <20100423204811.524bc870@pws-pc> <p2m8f67b6f81004250509t89b24a75p45ba6cbaf5681f8e@xxxxxxxxxxxxxx>
On 25 April 2010 14:09, Carlo Trimarchi <mr.spoon21@xxxxxxxxx> wrote:
> On 23 April 2010 19:48, Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx> wrote:
>>
>> so this bit of my previous message is what you need...
>>
>> Unless you're in vi mode, in which case you can just bind it in the obvious
>> way.
>>
>> bindkey -M viins '\e.' insert-last-word
>
> I see, thanks. I think I have to read something about this in the documentation.
Unless you particularly want to use vi mode, you probably just want to
put "bindkey -e" early in your .zshrc (early meaning before other
bindkey commands).
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author