unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* disable the .tramp_history file
@ 2011-02-01  3:37 Daniel Anderson
  2011-02-01  8:46 ` Michael Albinus
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Anderson @ 2011-02-01  3:37 UTC (permalink / raw)
  To: help-gnu-emacs

Hi team,

Searching the archives didn't get me anywhere with this, so I'm posting
to you now. 

Is there any way to disable the .tramp_history file from showing up on
my remote machines (when using tramp to access files on them ofc)?
customize-group tramp, didn't seem to have any options to do that, so if
no one here has a solution, I'll be forced to hack up some lisp assuming
that is even an option.

I work on many many customer boxes at work, so leaving behind
tramp_history files all over the place seems a bit rude.



Daniel A.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: disable the .tramp_history file
  2011-02-01  3:37 disable the .tramp_history file Daniel Anderson
@ 2011-02-01  8:46 ` Michael Albinus
  2011-02-01 13:12   ` Daniel Anderson
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Albinus @ 2011-02-01  8:46 UTC (permalink / raw)
  To: Daniel Anderson; +Cc: help-gnu-emacs

Daniel Anderson <dankles@gmail.com> writes:

> Hi team,

Hi,

> Is there any way to disable the .tramp_history file from showing up on
> my remote machines (when using tramp to access files on them ofc)?
> customize-group tramp, didn't seem to have any options to do that, so if
> no one here has a solution, I'll be forced to hack up some lisp assuming
> that is even an option.
>
> I work on many many customer boxes at work, so leaving behind
> tramp_history files all over the place seems a bit rude.

There is the customer option `tramp-remote-process-environment'. If you
modify it, setting $HISTFILE to /dev/null, it shall be sufficient.

> Daniel A.

Best regards, Michael.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: disable the .tramp_history file
  2011-02-01  8:46 ` Michael Albinus
@ 2011-02-01 13:12   ` Daniel Anderson
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Anderson @ 2011-02-01 13:12 UTC (permalink / raw)
  To: Michael Albinus; +Cc: help-gnu-emacs

Michael Albinus <michael.albinus@gmx.de> writes:

> Daniel Anderson <dankles@gmail.com> writes:
>
>> Hi team,
>
> Hi,
>
>> Is there any way to disable the .tramp_history file from showing up on
>> my remote machines (when using tramp to access files on them ofc)?
>> customize-group tramp, didn't seem to have any options to do that, so if
>> no one here has a solution, I'll be forced to hack up some lisp assuming
>> that is even an option.
>>
>> I work on many many customer boxes at work, so leaving behind
>> tramp_history files all over the place seems a bit rude.
>
> There is the customer option `tramp-remote-process-environment'. If you
> modify it, setting $HISTFILE to /dev/null, it shall be sufficient.

Works! 


>> Daniel A.
>
> Best regards, Michael.

Thanks Michael, 
Now I can have some fun molesting my customers servers. :)



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-02-01 13:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-01  3:37 disable the .tramp_history file Daniel Anderson
2011-02-01  8:46 ` Michael Albinus
2011-02-01 13:12   ` Daniel Anderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).