<[EMAIL PROTECTED]> writes:

> OK, "exec env 'PS1=3D$ ' env 'ENV=3D' %s%s" seems to be a better solution
> than the tramp-shell-prompt-pattern kludge. I hope nothing really
> depends on the stuff in the file that is now not executed when the
> tramp logs in. Seems I want to create a new tramp-method.

Note that this is the second shell already, so it should inherit its
environment from your login shell.  That should be good enough.

I'll change tramp.el to just always unset $ENV.

(Does it work to do "exec env 'PS1=$ ' ENV= /bin/sh" instead of
invoking env twice?  *test test*  Yes, it seems so.)

[time passes]

Okay, I've now changed it.  But I'd like to document it, as well.
Can you tell me again why did you need to unset $ENV?  Thanks.
-- 
A preposition is not a good thing to end a sentence with.


_______________________________________________
Tramp-devel mailing list
[EMAIL PROTECTED]
http://mail.nongnu.org/mailman/listinfo/tramp-devel

Reply via email to