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

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?



Messages sorted by: Reverse Date, Date, Thread, Author