From 3b5ae02a55575a0c2a8aad8f576f19e1cad88a2c Mon Sep 17 00:00:00 2001 From: Philip Guenther Date: Fri, 11 Aug 2017 23:10:56 +0000 Subject: Retire old behavior of requiring root prompt to contain # or \! Requested by akoshibe and phessler ok phessler@ anton@ jca@ --- bin/ksh/ksh.1 | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'bin/ksh/ksh.1') 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: -- cgit v1.2.3