summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2005-12-06 20:40:03 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2005-12-06 20:40:03 +0000
commit385bd9026d6eca64c9cfbe55971afeec6e8b14aa (patch)
tree7e89b28e58599c282c2a23118d175c9b7daeaf41
parent4e376184e91e776fb4cba753cd78b3a10bd3658f (diff)
make the PS1 section a little easier to read;
-rw-r--r--bin/ksh/ksh.17
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/ksh/ksh.1 b/bin/ksh/ksh.1
index be00047c52f..513774ef1f6 100644
--- a/bin/ksh/ksh.1
+++ b/bin/ksh/ksh.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ksh.1,v 1.108 2005/11/30 12:16:04 jmc Exp $
+.\" $OpenBSD: ksh.1,v 1.109 2005/12/06 20:40:02 jmc Exp $
.\"
.\" Public Domain
.\"
@@ -1554,12 +1554,13 @@ the escape codes with this non-printing character.
By the way, don't blame me for
this hack; it's in the original
.Nm .
-The default is
+.Pp
+The default prompt is
.Sq $\ \&
for non-root users,
.Sq #\ \&
for root.
-Additionally, if
+If
.Nm
is invoked by root and
.Ev PS1