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 15025
- From: James Andrewartha <trs80@xxxxxxxxxxxxxxxxxx>
- To: Carlo Trimarchi <mr.spoon21@xxxxxxxxx>
- Subject: Re: "Alt ." to repeat last part of a command
- Date: Fri, 23 Apr 2010 23:34:26 +0800
- Cc: zsh-users@xxxxxxx
- In-reply-to: <o2k8f67b6f81004230249i9377d8ev8f499ee9dfd7ffd@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>
- Reply-to: trs80@xxxxxxxxxxxxxxxxxx
On 23 April 2010 17:49, Carlo Trimarchi <mr.spoon21@xxxxxxxxx> wrote:
> 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.
When you run 'zsh -f', does 'Alt .' work? If not, what about after
running 'bindkey -e'? Do you have EDITOR set?
James Andrewartha
Messages sorted by:
Reverse Date,
Date,
Thread,
Author