3 ms·
Sorry, I just copy-pasted the whole thing. I know that most of the other options are available, though I didn't know that the HIST_IGNORE_SPACE was available in
by pyre 14y ago
Sorry, I just copy-pasted the whole thing. I know that most of the other options are available, though I didn't know that the HIST_IGNORE_SPACE was available in bash.
- mnarayan01 14y agoIn bash you'd use HISTCONTROL=ignorespace
- pyre 14y agoAccording to the manpage, ignorespace doesn't treat multi-line commands very nicely.
- mnarayan01 14y agoYou would have to disable the cmdhist option for that to matter: shopt -u cmdhist Or I guess be working with a bash old enough to not support cmdhist.