Is the inverse of setopt histignorespace possible in Z shell?
In Z shell (zsh) when you set the option of histignorespace
, all of your commands are added to the history except those prepended with a space.
Is an inverse effect of this possible, so that all of the commands are ignored except those prepended with a space?