Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jan 2017 21:34:26 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r312654 - stable/10/share/skel
Message-ID:  <201701222134.v0MLYQpG038100@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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