svn commit: r312654 - stable/10/share/skel

Jilles Tjoelker jilles at FreeBSD.org
Sun Jan 22 21:34:27 UTC 2017


Author: jilles
Date: Sun Jan 22 21:34:26 2017
New Revision: 312654
URL: https://svnweb.freebsd.org/changeset/base/312654

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

Modified:
  stable/10/share/skel/dot.shrc
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/share/skel/dot.shrc
==============================================================================
--- stable/10/share/skel/dot.shrc	Sun Jan 22 21:31:32 2017	(r312653)
+++ stable/10/share/skel/dot.shrc	Sun Jan 22 21:34:26 2017	(r312654)
@@ -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


More information about the svn-src-stable-10 mailing list