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

Re: File completion with **/ (with solution)



On Sep 20,  5:56pm, Bart Schaefer wrote:
}
}   _glob_expand() { reply=( $~1* ) }
}   zstyle :completion::user-expand:: user-expand _glob_expand
}   zstyle :completion::user-expand:: tag-order expansions all-expansions

There's a typo above; should be
   zstyle :completion::user-expand::: tag-order expansions all-expansions

I'm not sure why there are fewer colons in user-expand than in tag-order.
I think there's a similar typo in _user_expand looking up that style.

}   zstyle ':completion:*' completer _expand _complete _match _user_expand



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