bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Michael Albinus
Subject: bug#19731: 24.4; /dev/null is deleted by tramp-sh.el
Date: Sun, 08 Feb 2015 11:05:15 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Alad Wenter <alad@archlinux.info> 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]