Execute a block of commands without keeping it in shell history (zsh) -


i know can avoid keeping command in history if use setopt hist_ignore_space. block of commands?

imagine write like:

nohistorystart ...cmds... nohistoryend 

or starts prompt.

from this answer, can push/pop new history, not associated save file. (note capitals.)

fc -p  ...cmds... fc -p 

Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -