I would also like to record the shell-command to be executed in emacs in the history of zsh.
To do this, I think I can do this if I can manipulate the history from the program, but I don't know how to do this.
Which shell has the ability to share history among multiple terminals? As shown in , zsh also shares history among multiple sessions, so I think there is an appropriate built-in command to edit it.
ASK:
print-s
.
%print-secho hello
% history-1
10368 echo hello
© 2024 OneMinuteCode. All rights reserved.