Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Completion on dots
Unfortunately I cannot answer your question, but there was a really neat funtion posted some month ago: http://www.zsh.org/mla/users/2010/msg00770.html
Perhaps that's an alternative for you, too!
-------- Original-Nachricht --------
> Datum: Wed, 17 Aug 2011 16:40:02 +0200
> Von: "Jesper Nygårds" <jesper.nygards@xxxxxxxxx>
> An: zsh-users@xxxxxxx
> Betreff: Completion on dots
> I have the following in my .zshrc:
>
> alias -g ...='../../'
>
> which of course allows me to write for example "ls ..." to show all
> files in the grand-parent directory.
>
> However, it doesn't work with completion: I can't write "ls
> .../<TAB>", and have zsh complete on the available files in the
> grand-parent directory.
>
> Would it be possible to write such a completion function? And ideally,
> for even more dot patterns: "...", "...." etc, to continue up in the
> file hierachy?
--
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!
Jetzt informieren: http://www.gmx.net/de/go/freephone
Messages sorted by:
Reverse Date,
Date,
Thread,
Author