command line history and macros

Posted by DanaLea73 on Sat 12 Nov 2011 02:14 PM — 3 posts, 13,202 views.

USA #0
I see in the documentation this line:

"Macro commands go through the command processor so they can call aliases, scripts, speedwalks etc."

which is great, but is there a way to not have the macros
in my command line /history/? I don't need to scroll though
them when searching for an earlier command.

Thanks in advance.
Australia Forum Administrator #1
Yes.

Make the macro call an alias.

Then set the alias to "Omit From Command History".

Now when you hit the macro the effect is not stored in command history.
USA #2
awesome! most of my macros are already aliases, so this is perfect. THANK YOU.

-dana