Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
pyre
13y ago
0 comments
Share
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.
0 comments
default
newest
oldest
mnarayan01
13y ago
In bash you'd use HISTCONTROL=ignorespace
pyre
OP
13y ago
According to the manpage, ignorespace doesn't treat multi-line commands very nicely.
mnarayan01
13y ago
You 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.
j
/
k
navigate · click thread line to collapse