Written by

Senior Software Engineer
Question Ashok Kumar T · Dec 12, 2024

Permanently Deletes all the commands shows inline recall History (:h[istory] )

Hello Community,

Is there any way to permanently clear all the commands displayed in the line recall History. The :clear deletes all the commands in that particular process/recall buffer.

Thanks!

Product version: IRIS 2024.1
$ZV: IRIS for Windows (x86-64) 2024.1.1 (Build 347U)

Comments

Chris Stewart · Dec 12, 2024

If you are on Windows, then you should have an .iris_history file on C:\Users\<yourusername>\.   Deleting this will clear your history

0
Ashok Kumar T  Dec 12, 2024 to Chris Stewart

Thanks Chris, It works. However, There is no command to do it from terminal itself?

0
Enrico Parisi  Dec 12, 2024 to Ashok Kumar T

How about:

:clear

!del %USERPROFILE%\.iris_history

0
Ashok Kumar T  Dec 12, 2024 to Enrico Parisi

:clear deletes all the commands in that particular process/recall buffer. If you open another terminal and :history shows all commands. So, I thought some native commands exist like :clear to delete the commands history permanently. 

!del %USERPROFILE%\.iris_history - yes, we can the use the file system commands.

Thanks!

0