[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tramp and non-bash shells
From: |
Kevin Rodgers |
Subject: |
Re: Tramp and non-bash shells |
Date: |
Mon, 08 Mar 2004 11:55:24 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
Bjo"rn Lindstro"m wrote:
> It seems that Tramp assumes that unset will always return 0. Of the
> shells I've been testing, that is however only the case with bash.
The unset built-in also fails in ksh if any of its arguments are not
functions or variables.
> With for instance zsh, which is the shell I am using, Tramp will fail
> because 'unset correct' fails in the ssh session it has opened.
>
> How do I work around this, without having to change my login shell to
> bash?
Try to find the place where Tramp runs "unset correct", and change it
to "correct=; unset correct"
--
Kevin Rodgers