Referring to the up-arrow/Ctrl+R history.
Is there any way to do so?
History is stored in a file, so one option is to truncate that file. For example:
echo. > %CMDER_ROOT%\config\.history
You could put that in a .bat file or something. (I don't believe you can do it in an alias as I don't think redirect operators are supported in doskey macros.)
Most helpful comment
History is stored in a file, so one option is to truncate that file. For example:
You could put that in a .bat file or something. (I don't believe you can do it in an alias as I don't think redirect operators are supported in doskey macros.)