Re: Path modification
>>>>> "Moshe" == Moshe Zadka <email@example.com> writes:
Moshe> Ummmm.....that doesn't strike you as a weird error message?
Moshe> Especially since the shell thinks "mh" *is* a valid
Moshe> completion? I expect things that are valid completions to
I agree with this.
Especially for directories (it should be easy to check if a executable
file is just a directory or really is executable).
Symlinks might be slightly harder (but still possible all the same):
 [snoopy:bam] ~ >X11
zsh: permission denied: X11
 [snoopy:bam] ~ >which X11
X11 not found
I assume it is looking for
 [snoopy:bam] ~ >ls -l /usr/bin/X11
lrwxrwxrwx 1 root root 12 Dec 29 16:43 /usr/bin/X11 -> ../X11R6/bin/
(IMHO if the shell can find /usr/bin/X11, which should also find it
too, but I guess that might break things. However, I guess the fact
that which knows it is not an executable clearly shows that the shell
should be able to work it out for tab completion, too).
Brian May <firstname.lastname@example.org>