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

jquery - How do you format the date used in the popover widget title of FullCalendar? -

Bubble Sort Manually a Linked List in Java -

asp.net mvc - SSO between MVCForum and Umbraco7 -