
double slash in path (Cygwin & zsh)
I don't know if this is an issue with zsh, cygwin, or "which", but
maybe someone knows.
When using Cygwin, if I type "which perl", and I'm using the bash
shell, I get:
/cygdrive/c/Perl/bin/perl
as my answer. If I switch to zsh and type the same thing ("which
perl"), I get:
/cygdrive/c/Perl/bin//perl
with a double slash in the path. Since the only variable that changed
is the shell, I'm guessing it's the shell's doing, but I'm not sure.
Any idea what that double slash is about?
Thanks.