From f5aa426be29b9dc7f199fe1b69615b566dba36e6 Mon Sep 17 00:00:00 2001 From: jilles Date: Sun, 22 Jan 2017 21:31:32 +0000 Subject: MFC r312230: skel: Do not set -o emacs in .shrc. sh has defaulted to 'set -o emacs' since FreeBSD 9.0. Therefore, do not set this again in .shrc, since that only serves to prevent invocations like 'sh -o vi' and 'sh +o emacs' to have the intended effect. PR: 215958 Submitted by: Andras Farkas --- share/skel/dot.shrc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'share/skel') diff --git a/share/skel/dot.shrc b/share/skel/dot.shrc index ea32f35..e66c0ab 100644 --- a/share/skel/dot.shrc +++ b/share/skel/dot.shrc @@ -13,10 +13,6 @@ # # umask 022 -# Enable the builtin emacs(1) command line editor in sh(1), -# e.g. C-a -> beginning-of-line. -set -o emacs - # Uncomment this and comment the above to enable the builtin vi(1) command # line editor in sh(1), e.g. ESC to go into visual mode. # set -o vi -- cgit v1.1