Many shells such as bash do not store commands prefixed with space in the shell history.
Zsh supports this feature also but it must be enabled first.
To enable this, run:
setopt histignorespace
After this, commands prefixed with ` ` does not show up in history.