Hi,
make and git have the -C option which works like:
(
builtin cd -q $COPT
git/make "$@"
)
I think that it is very useful, because no lengthy subshell is needed. Zsh doesn't have such option, could it be added? It's pitty that -C is already used by NO_CLOBBER, but maybe some other letter is free (I didn't found any)?
--
Best regards,
Sebastian Gniazdowski