David Bremner <[email protected]> writes:

> My default shell is tcsh, which violates some of the assumptions in
> magit about output redirection; in particular it makes repo-detection
> fail.

I think you are right: Magit should not assume that shell-file-name is a
Bourne shell.  It is the user's shell, and used for things like
shell-command-on-region, where the user types in a shell command.

> I thought the simplest way around was to define a shell
> especially for magit.

It might be best to avoid running shell commands entirely.  Elisp
is a better language than Bourne shell, after all! :-)

I'll have a try.

Reply via email to