summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2005-12-06 20:40:02 +0000
committerjmc <jmc@openbsd.org>2005-12-06 20:40:02 +0000
commit8c8761b79838e1cecc2374baa531027d473b9b87 (patch)
tree9f7624556c24b500af93935497401c861f0169b2
parentRemove fdescfs (diff)
downloadwireguard-openbsd-8c8761b79838e1cecc2374baa531027d473b9b87.tar.xz
wireguard-openbsd-8c8761b79838e1cecc2374baa531027d473b9b87.zip
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