Since writing [this post about bash][], I've switched to zsh. A lot of the functionality is there, plus quite a bit more. But zsh doesn't use GNU Readline, so you can't add anything to inputrc
. But you can put something in your ~./zshrc
:
[shell]
bindkey ' ' magic-space # also do history expansion on space
[/shell]