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

Re: [zsh 4.0.1 bug] filename completion



On Tue, Jun 26, 2001 at 15:29:30 +0200, Sven Wischnowsky wrote:
> In terms of sh/ksh/bash-compatibility, yes.  But for zsh it will give
> you the same unless you have shwordsplit set.

It is currently unset, but I don't want to break my current functions
if I change my mind in the future...

I've just tried your solution and it doesn't work.

greux:~> which c.                                                     <15:32:45
c. () {
        setopt localoptions nocdablevars
        local CDPATH
        cd "$@"
}

and I have

compdef c.=cd
zstyle ':completion:*:*:c.:*' tag-order local-directories

at the end of my .zshrc, but when I type "c. soft" and try to complete,
nothing happens.

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/> - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



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