summary refs log tree commit diff
path: root/bin/1sh/1sh.1
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-03-09 19:27:15 -0400
committerJune McEnroe <june@causal.agency>2020-03-09 20:01:30 -0400
commitf7676f83b2b39a31b6db502af2c8bc024b302f81 (patch)
treea53d958dae743b0686b5fd6b725f2a3c11636b90 /bin/1sh/1sh.1
parentShorten $HOME to ~ in prompt expansion (diff)
downloadsrc-f7676f83b2b39a31b6db502af2c8bc024b302f81.tar.gz
src-f7676f83b2b39a31b6db502af2c8bc024b302f81.zip
Add \? exit status prompt expansion
Diffstat (limited to 'bin/1sh/1sh.1')
-rw-r--r--bin/1sh/1sh.12
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/1sh/1sh.1 b/bin/1sh/1sh.1
index 9bbd881b..d72a87c7 100644
--- a/bin/1sh/1sh.1
+++ b/bin/1sh/1sh.1
@@ -1427,6 +1427,8 @@ This system's hostname.
 The final component of the current working directory.
 .It Li \ew
 The entire path of the current working directory.
+.It Li \e?
+Exit status if it is non-zero, empty string otherwise.
 .It Li \e$
 Superuser status.
 .Dq Li "$ "