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 15022
- From: Carlo Trimarchi <mr.spoon21@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: "Alt ." to repeat last part of a command
- Date: Fri, 23 Apr 2010 09:49:53 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:received:message-id:subject:to:content-type; bh=NAIfmjpIpJYluG42zp9My8SfhgYpoBIyYL5dSkYxa7c=; b=psNaOA2CTTWKzZVSanzWe2PnJmpn72as9o5SvnnROnO1RkHuD7V2iATRaIKthK66aQ XPXWivseFCPPO9Mjczs3Q10dzkp0dxPMQvWtzMrw8p456uehPV3j3NkP1n5Y83L5WNMQ Nn+cJ/nF8DGFN6Hb+HFn0Y93peZRaCftWz4WY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=L/cTTW8aC9h0zG7kcoxTDycwY3xtAZ4V6VDtbypJaJ+5g1Aj5WVxqmw4ffiqGwvXQV Sc/wWkn+2jLLBnH6H8DuQmtHA/WeK2QcNabtd0h3R/j0n4JhjAGsh0qqwhknb4sPQgVC aKOsrq0fLeRNGL3j6IrxCmrAVFwCMfqrzWu7E=
- In-reply-to: <20100423092734.GA7499@xxxxxxxxxxxxxxxxxxx>
- 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>
On 23 April 2010 09:27, Vincent Lefevre <vincent@xxxxxxxxxx> wrote:
>
> I suppose you meant "Esc ." (Alt combinations don't make sense in
> a terminal, they are translated to something else, e.g. by Esc).
No, I meant "Alt ."
In bash, at the moment, I can do this:
$ ls workspace/
then I can press "cd Alt ." to show the command "cd workspace/"
In zsh it seems that "Alt ." executes "cd .." and it brings me to the
parent directory.
> It should work in zsh:
>
> ypig% bindkey '^[.'
> "^[." insert-last-word
Thanks, I'll try
Messages sorted by:
Reverse Date,
Date,
Thread,
Author