Execute command without keeping it in history

You want to talk about Far Manager, but don't know where to turn?
Post Reply
apsen
Posts: 24
Joined: Mon 26 Jan, 2009 18:49

Execute command without keeping it in history

Post by apsen »

I seem to remember it was possible to execute command without putting it in history but I couldn't find how... Is this possible or am I imagining things?

In particular I would like this to be possible for user defined association for 'execute' with 'Enter'.
2useven10
Posts: 5226
Joined: Mon 07 Sep, 2009 10:40
Has thanked: 18 times
Been thanked: 314 times

Execute command without keeping it in history

Post by 2useven10 »

far:config
System.ExcludeCmdHistory
Shift+F1
apsen
Posts: 24
Joined: Mon 26 Jan, 2009 18:49

Execute command without keeping it in history

Post by apsen »

Hm... I was hoping for something more discerning. Like a special symbol at the beginning of command line to prevent it to be inserted into the history...

But this could work though I would have to check other associations to see which way is lesser evil.

Thanks a lot!
User avatar
buniak_a_h
Posts: 4259
Joined: Sat 20 Apr, 2013 00:17
Location: Санкт-Петробад
Has thanked: 222 times
Been thanked: 644 times
Contact:

Execute command without keeping it in history

Post by buniak_a_h »

I use plugin AltHistory. It has setting «Commands history: exclusions...». I set ^@ as one of exclusions, and any commands beginning «@command» are not written into history
Last edited by buniak_a_h on Mon 09 Nov, 2020 18:34, edited 1 time in total.
apsen
Posts: 24
Joined: Mon 26 Jan, 2009 18:49

Execute command without keeping it in history

Post by apsen »

Sound great! I'll check it out.
Post Reply

Return to “General Discussions”