diff options
author | jilles <jilles@FreeBSD.org> | 2010-04-05 14:15:51 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2010-04-05 14:15:51 +0000 |
commit | f43d9cd1711a47fa152591bb0cd6dfaba4bf49aa (patch) | |
tree | f74711fe0adf0b6526051ddc49a0fb496ffd8603 /bin/sh/sh.1 | |
parent | f3678f9f9c67b47c27d072971dc36f1f26c88301 (diff) | |
download | FreeBSD-src-f43d9cd1711a47fa152591bb0cd6dfaba4bf49aa.zip FreeBSD-src-f43d9cd1711a47fa152591bb0cd6dfaba4bf49aa.tar.gz |
sh: Automatically enable -o emacs in interactive shells with terminals.
This makes sh a bit more friendly in single user mode, make buildenv, chroot
and the like, and matches other shells.
The -o emacs can be overridden on the command line or in the ENV file.
Diffstat (limited to 'bin/sh/sh.1')
-rw-r--r-- | bin/sh/sh.1 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/sh/sh.1 b/bin/sh/sh.1 index e577c66..1f74992 100644 --- a/bin/sh/sh.1 +++ b/bin/sh/sh.1 @@ -32,7 +32,7 @@ .\" from: @(#)sh.1 8.6 (Berkeley) 5/4/95 .\" $FreeBSD$ .\" -.Dd April 4, 2010 +.Dd April 5, 2010 .Dt SH 1 .Os .Sh NAME @@ -210,7 +210,8 @@ Enable the built-in .Xr emacs 1 command line editor (disables the .Fl V -option if it has been set). +option if it has been set; +set automatically when interactive on terminals). .It Fl e Li errexit Exit immediately if any untested command fails in non-interactive mode. The exit status of a command is considered to be |