Where is macOS Terminal New Command (Command+Shift+N) History File?
1
vote
2
answers
96
views

+shift+N
can turn on this "New Command" window, which doesn't store all the commands executed in the terminal.
From ~/.zsh_history, I can see that the commands were executed in the form of xxxxx;exit
By deleting those lines from ~/.zsh_history, the wrong commands still remain in the New Command Window. How can I delete those lines like
and show cores
so that they won't show in New Command.
Thanks
PS: This +Shift+N
New Window is quite useful, feels like a ... as ...
function in python and will completely quit when closing, unlike directly executing some commands which may leave frozen threads after +c
.
Asked by Crear
(121 rep)
Nov 5, 2024, 06:54 PM
Last activity: May 29, 2025, 02:39 PM
Last activity: May 29, 2025, 02:39 PM