28 Sep 20:08
_expand completer with ignored-patterns and all-expansions
From: Max Mikhanosha <max <at> openchat.com>
Subject: _expand completer with ignored-patterns and all-expansions
Newsgroups: gmane.comp.shells.zsh.devel
Date: 2008-09-28 18:11:38 GMT
Expires: This article expires on 2008-10-12
Subject: _expand completer with ignored-patterns and all-expansions
Newsgroups: gmane.comp.shells.zsh.devel
Date: 2008-09-28 18:11:38 GMT
Expires: This article expires on 2008-10-12
I'm in an directory with java sources, and I want to cvs update **/build.xml. cvs update **/build.xml<tab> I have it so that my completers are _expand then _complete, and first choice it offers is a list of all the files, which is what I want, so my choices are: 1. bin/a/b/c/build.xml bin/d/e/f/build.xml a/b/c/build.xml d/e/f/build.xml 2. bin/a/b/c/build.xml 3. bin/d/e/f/build.xml 4. a/b/c/build.xml 5. d/e/f/build.xml 6. foo/bar/build.xml Pressing Enter on choice 1. leads to a quick realization that bin/ directory is not under version control, so whole cvs command fails with unable to find CVS/Entries. After doing: zstyle ':completion:*expand*:*' ignored-patterns 'bin/*' The choices offered are: 1. a/b/c/build.xml 2. d/e/f/build.xml 3. foo/bar/build.xml(Continue reading)
RSS Feed