Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: "Alt ." to repeat last part of a command



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