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

Re: `cd .` in non-existent directory leads into weird corner case



On Apr 15,  3:17am, Vincent Lefevre wrote:
}
} I don't understand why the -c option has any effect (I couldn't
} see anything in the man pages).

With -f or no option at all, dir-test2.sh is being run approximately as
if read by "source".  With -c, it's being run as an external command,
so it might not even be zsh that's executing it.



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