Subject: Re: bug#19731: 24.4; /dev/null is deleted by tramp-sh.el

From: Michael Albinus <[email-masked]>
Date: Sun, 08 Feb 2015 11:05:15 +0100

Alad Wenter <[email-masked]> writes:

> Could you provide some more detail on unsetting $HISTFILE? Symlinking
> /bin/sh to zsh seems a bit drastic..

Tramp does it meanwhile in Emacs 25.0.50 (not symlinking sh to zsh :-)
When it opens a connection, it calls

exec env ENV='' HISTFILE='' HISTFILESIZE=0 HISTSIZE=0 PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3='' /bin/sh 

This seems to be sufficient.

> Alad

Best regards, Michael.