* z now handles precmd functionality for zsh, and no longer requires it to be set manually. However, this breaks backward compatibility with zsh. Existing users who use zsh should remove the precmd function they added when installing. * z now respects _Z_NO_RESOLVE_SYMLINKS and _Z_NO_PROMPT_COMMAND variables under zsh. * Documentation updated to reflect changes in installation instructions
Dug around in bash docs until I found out how to get it to quote metachars in tab completions like zsh does by default, so that's nice. I knew you you could do it, bash!
* quote metachars in tab completions because bash doesn't, or at least, I can't figure out how to tell it to yet. * tell zsh NOT to quote metachars in tab completions because it does, by default. this is irritating, as i'm sure it's better than me at it. * do the irritating metachar quoting that's been a PITA on a copy of the variable, so we can return the original, because gsub modifies in place. TODO: if we're going to be taking over metacharacter quoting, we ought to do it less halfhazardly
We decide you've tab completed if the last argument begins with /, and is an existing directory. This may still cause unexpected behavior if you do that without tab completing.