summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2005-03-04 11:50:07 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2005-03-04 11:50:07 +0000
commit4ea3f15cfeefd97ef037d280f60c33d6523c65dd (patch)
tree165b4dc8e52ceadac20eea745a879e8c99343f73
parentefd918d95e9023504230e54d914e864cc75f4d08 (diff)
document that $HOME is shown as `~' for PS1 \w substitutions;
diff from niall o'higgins, pr 4132 (slightly reworded); ok otto@
-rw-r--r--bin/ksh/ksh.15
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/ksh/ksh.1 b/bin/ksh/ksh.1
index c85d37c79a1..550fa5b9d7d 100644
--- a/bin/ksh/ksh.1
+++ b/bin/ksh/ksh.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ksh.1,v 1.96 2005/02/18 09:01:49 jmc Exp $
+.\" $OpenBSD: ksh.1,v 1.97 2005/03/04 11:50:06 jmc Exp $
.\"
.\" Public Domain
.\"
@@ -1592,6 +1592,9 @@ Like
but more verbose.
.It Li \ew
The current working directory.
+.Dv $HOME
+is abbreviated as
+.Sq ~ .
.It Li \eW
The basename of
the current working directory.