summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2017-01-22 21:34:26 +0000
committerjilles <jilles@FreeBSD.org>2017-01-22 21:34:26 +0000
commitfe726b03ecb59fe45186deca9829eadc759535aa (patch)
tree24bf947da04e74e8c4252c92518435c9a4c0e108 /share
parent966e799532b3fae8172c376825db33071bd9361b (diff)
downloadFreeBSD-src-fe726b03ecb59fe45186deca9829eadc759535aa.zip
FreeBSD-src-fe726b03ecb59fe45186deca9829eadc759535aa.tar.gz
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
Diffstat (limited to 'share')
-rw-r--r--share/skel/dot.shrc4
1 files changed, 0 insertions, 4 deletions
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
OpenPOWER on IntegriCloud