8 ms·
People have mentioned syntax-highlighting, which is cool, and I'll be checking it out shortly. But MY favorite feature of zsh is ZLE: the Zsh Line Editor. The
by zapman449 14y ago
People have mentioned syntax-highlighting, which is cool, and I'll be checking it out shortly.
But MY favorite feature of zsh is ZLE: the Zsh Line Editor. The fact that I hit up-arrow, and see the for|while|if statements as I typed them, rather than mashed together into a horrible, semi-colon infected, one-liner (like bash) is awesome.
- thebillywayne 14y agoIf I understand your problem with bash correctly, it can be remedied using `shopt -s cmdhist` and `shopt -s lithist`. I commonly write long for loops in the shell and hitting the up arrow to bring it back up, should I want to edit it, etc., then it appears with all the newlines just as I typed it. http://www.delorie.com/gnu/docs/bash/bashref_108.html http://www.delorie.com/gnu/docs/bash/bashref_108.html