From a04bd58017c55b92773c60e3299d1265fd862a8b Mon Sep 17 00:00:00 2001
From: Jilles Tjoelker <jilles@FreeBSD.org>
Date: Sun, 15 Jan 2017 13:40:14 +0000
Subject: [PATCH] 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
MFC after:	1 week
---
 share/skel/dot.shrc | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/share/skel/dot.shrc b/share/skel/dot.shrc
index ea32f3578bfa..e66c0abb77d5 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