all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ded@ddoherty.net
To: help-gnu-emacs@gnu.org
Subject: Can't Stop Tramp from invoking my login fish shell
Date: Sat, 7 Jan 2017 06:00:50 -0800 (PST)	[thread overview]
Message-ID: <de521487-03d2-454e-b3eb-2b0e6a2cfc08@googlegroups.com> (raw)

All,

I have started using the fish shell, which I like for interactive use.  I have set it to be my default shell with chsh.

However, it does not play well with TRAMP, which uses the 'COMMAND && COMMAND' syntax in several places.   When I open a file in a remote dir over TRAMP, I get and error complaining about fish not implementing the && construct.

I believe TRAMP always uses /bin/sh as the shell on the remote side, so I'm guessing this is invoking it on the local side.

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

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.

None of this has stopped this message.

Any idea what is happening?


             reply	other threads:[~2017-01-07 14:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-07 14:00 ded [this message]
2017-01-08 11:11 ` Can't Stop Tramp from invoking my login fish shell Michael Albinus
2017-01-08 12:02   ` Doherty, Daniel
2017-01-09 11:17 ` ded

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=de521487-03d2-454e-b3eb-2b0e6a2cfc08@googlegroups.com \
    --to=ded@ddoherty.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.