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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to