Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
hk__2
on May 11, 2013
|
parent
|
context
|
favorite
| on:
How zsh is more useful than bash
Actually, except the `SHARE_HISTORY` option (which can be emulated), everything else is available in Bash.
pyre
on May 11, 2013
[–]
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
on May 12, 2013
|
parent
[–]
In bash you'd use HISTCONTROL=ignorespace
pyre
on May 12, 2013
|
root
|
parent
[–]
According to the manpage, ignorespace doesn't treat multi-line commands very nicely.
mnarayan01
on May 13, 2013
|
root
|
parent
[–]
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: