[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#31924: 27.0.50; tramp handler /sudo::FILE fails when /bin/sh points
From: |
Eli Zaretskii |
Subject: |
bug#31924: 27.0.50; tramp handler /sudo::FILE fails when /bin/sh points to zsh |
Date: |
Mon, 25 Jun 2018 18:22:08 +0300 |
> From: Tino Calancha <tino.calancha@gmail.com>
> Date: Mon, 25 Jun 2018 10:36:39 +0900
> Cc: 31924@debbugs.gnu.org, tino.calancha@gmail.com
>
> --- a/lisp/net/tramp-sh.el
> +++ b/lisp/net/tramp-sh.el
> @@ -550,7 +550,9 @@ tramp-remote-process-environment
> :type '(repeat string))
>
> ;;;###tramp-autoload
> -(defcustom tramp-sh-extra-args '(("/bash\\'" . "-norc -noprofile"))
> +(defcustom tramp-sh-extra-args
> + '(("/bash\\'" . "-norc -noprofile")
> + ("/zsh\\'" . "--no-promptcr"))
If you change the default value of a defcustom, please update its
:version tag.
Thanks.