]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sh: improve emacs mode
authorBaptiste Daroussin <bapt@FreeBSD.org>
Tue, 30 Mar 2021 09:37:29 +0000 (11:37 +0200)
committerBaptiste Daroussin <bapt@FreeBSD.org>
Tue, 30 Mar 2021 21:49:03 +0000 (23:49 +0200)
commit660045fb5360d328da199ae78c89d5cc15b6d1ca
tree8f56218aec9f64f88e318a3cea9046cadd64f41e
parentb8598e2ff65ab82da0cf6861ee12f078b40bc252
sh: improve emacs mode

In emacs mode, force ^R to backware search the history
This behaviour is the default in emacs mode for most of the other shells

Note: Note that this can still be overridden via $EDITRC, ~/.editrc or a
bind command after set -o emacs.

MFC after: 1 week
Approved by: jilles
Reviewed by: jilles, arichardson, pstef
Differential Revision: https://reviews.freebsd.org/D29494
bin/sh/histedit.c