Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jan 2017 13:40:15 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r312230 - head/share/skel
Message-ID:  <201701151340.v0FDeFdG073445@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jilles
Date: Sun Jan 15 13:40:14 2017
New Revision: 312230
URL: https://svnweb.freebsd.org/changeset/base/312230

Log:
  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

Modified:
  head/share/skel/dot.shrc

Modified: head/share/skel/dot.shrc
==============================================================================
--- head/share/skel/dot.shrc	Sun Jan 15 12:58:14 2017	(r312229)
+++ head/share/skel/dot.shrc	Sun Jan 15 13:40:14 2017	(r312230)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701151340.v0FDeFdG073445>