help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't Stop Tramp from invoking my login fish shell


From: Doherty, Daniel
Subject: Re: Can't Stop Tramp from invoking my login fish shell
Date: Sun, 8 Jan 2017 06:02:24 -0600

Michael,

You nailed it!  I had seen suggestions to set explicit-shell-file-name, but
not shell-file-name.

Problem went away after setting this in my init.el.  Many thanks.



====================================================
Daniel E. Doherty
Law Offices of Daniel E. Doherty
7300 W. 110th Street, Suite 930
Overland Park, KS 66210
913.338.7182 (Phone)
913.338.7164 (FAX)
ded-law@ddoherty.net


On Sun, Jan 8, 2017 at 5:11 AM, Michael Albinus <michael.albinus@gmx.de>
wrote:

> ded@ddoherty.net writes:
>
> > All,
>
> Hi,
>
> > The error message pops up in a *temp* buffer, which goes away when I
> type anything in it, but it says something like this:
> >
> > Unsupported use of && ...
> > fish: scp -p -q -r ... && echo tramp_exit_status 0 || echo
> tramp_exit_status 1
>
> This construct isn't used anymore since Tramp 2.3.0. You could switch
> either to the development version of Emacs 26, or install the recent
> Tramp 2.3.1.
>
> > I have tried setting explicit-shell-file-name to "/bin/bash" and
> > setting SHELL environment variable to "/bin/bash" with setenv when
> > tramp is loaded.
>
> Internally, Tramp calls `start-process-shell-command'. Binding
> `shell-file-name' to "/bin/bash" might help (not tested).
>
> Best regards, Michael.
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]