In emacs mode, force ^R to backware search the history
This behaviour is the default in emacs mode for most of the user shell
Details
Details
- Reviewers
pstef arichardson jilles - Commits
- R10:660045fb5360: sh: improve emacs mode
Diff Detail
Diff Detail
- Repository
- R10 FreeBSD src repository
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
I added a similar diff in CheriBSD a while ago but for some reason I added it unconditionally there. Seems like bash also maps in in vi mode, but zsh doesn't.
Comment Actions
Note that this can still be overridden via $EDITRC, ~/.editrc or a bind command after set -o emacs.