Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Is there a way to do an automatic list-choices after successful completion of directory name?
- X-seq: zsh-users 10492
- From: "Nikolai Weibull" <now@xxxxxxxx>
- To: "Zsh Users' List" <zsh-users@xxxxxxxxxx>
- Subject: Is there a way to do an automatic list-choices after successful completion of directory name?
- Date: Fri, 7 Jul 2006 20:29:21 +0200
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=f96uhXHDPhRBSc2R7wxLdJoBuaFGGEpQ/sR28seJMUcUa3Sg45+kbDb2oArjrstlU90NYqpdaTIAi10zRrD0iGZi78Vlkg5rpObh6sufxyTgUyux29cKBn4wjb/NSBvgIHVdGVHkJNf33Xt0AwQFD3ZdGwqWK9aS3CjFVn/Kx0I=
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Sender: nikolai.weibull@xxxxxxxxx
I would like list-choices to be run whenever I have completed a
directory name, e.g.,
$ cd ~/p<Tab>
completes to
$ cd ~/projects/
Once completed, I'd like list-choices to be called so that I can see
what directories I have under ~/projects immediately, instead of
having to type another <Tab> right after the first one.
I assume I'll have to write my own completer that I'll bind <Tab> to
that first does a call to _complete somehow, but how do I then tell if
a directory name is what has been completed?
Thanks.
nikolai
Messages sorted by:
Reverse Date,
Date,
Thread,
Author