Re: Preserved things

Andrew Borodin via mc <[email protected]> Sun, 02 Nov 2025 19:50:53 +0300
Newsgroups gmane.comp.gnome.apps.mc.general
Message-ID <[email protected]>
On Sun, 2 Nov 2025 17:24:50 +0100 mi via mc <[email protected]> wrote:
> 
> Is there a way to make mc / mcedit / mcview 'forget' about internally saved pathes ? Like last pwd, opened files ...
> 
> Ideally a setting to do that when closing, second choice a commandline option, but if nothing helps then a key combo. But i'm really looking for some automagic. 

There are two ways:

1. Set num_history_items_recorded=0 in the ini file if you want to keep your current settings.

2. Define MC_PROFILE_ROOT environment variable for temporary mc environment (see man mc for details).
If this variable is set, mc creates a new profile with default settings at start. After mc close,
you can just delete this directory.

-- 
Andrew

-- 
mc mailing list
[email protected]
https://lists.midnight-commander.org/mailman/listinfo/mc