summaryrefslogtreecommitdiff
path: root/bin/ksh/ksh.1
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2017-08-11 23:10:56 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2017-08-11 23:10:56 +0000
commit3b5ae02a55575a0c2a8aad8f576f19e1cad88a2c (patch)
treeeb975100cba2c9064f6aa2d54c58447f528bbfac /bin/ksh/ksh.1
parent3abf6d5b91a5b00104791cabb0558ac75b765686 (diff)
Retire old behavior of requiring root prompt to contain # or \!
Requested by akoshibe and phessler ok phessler@ anton@ jca@
Diffstat (limited to 'bin/ksh/ksh.1')
-rw-r--r--bin/ksh/ksh.113
1 files changed, 2 insertions, 11 deletions
diff --git a/bin/ksh/ksh.1 b/bin/ksh/ksh.1
index 5e0713e3459..92be1c7399d 100644
--- a/bin/ksh/ksh.1
+++ b/bin/ksh/ksh.1
@@ -1,8 +1,8 @@
-.\" $OpenBSD: ksh.1,v 1.191 2017/07/06 15:42:04 schwarze Exp $
+.\" $OpenBSD: ksh.1,v 1.192 2017/08/11 23:10:55 guenther Exp $
.\"
.\" Public Domain
.\"
-.Dd $Mdocdate: July 6 2017 $
+.Dd $Mdocdate: August 11 2017 $
.Dt KSH 1
.Os
.Sh NAME
@@ -1535,15 +1535,6 @@ The default prompt is
for non-root users,
.Sq #\ \&
for root.
-If
-.Nm
-is invoked by root and
-.Ev PS1
-does not contain a
-.Sq #
-character, the default value will be used even if
-.Ev PS1
-already exists in the environment.
.Pp
The following backslash-escaped special characters can be used
to customise the prompt: