summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorC. McEnroe <june@causal.agency>2019-11-20 21:47:12 -0500
committerC. McEnroe <june@causal.agency>2019-11-20 21:47:12 -0500
commitdabd027bd000a7ef9468909fe4fcfe8bed860c4c (patch)
tree17fb0c70aefe3440716ad4348ba58ca28131ebfd /home
parentAdd \? exit status prompt expansion (diff)
downloadsrc-dabd027bd000a7ef9468909fe4fcfe8bed860c4c.tar.gz
src-dabd027bd000a7ef9468909fe4fcfe8bed860c4c.zip
Add \? to prompt
Diffstat (limited to 'home')
-rw-r--r--home/.config/1sh/env.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/home/.config/1sh/env.sh b/home/.config/1sh/env.sh
index 362631e2..e84b9f02 100644
--- a/home/.config/1sh/env.sh
+++ b/home/.config/1sh/env.sh
@@ -38,10 +38,9 @@ if [ "$(uname)" = 'Linux' ]; then
alias ls='ls --color=auto' grep='grep --color'
fi
-# TODO: $? indicator.
PS0=$'\n'
PS1='\$ '
-RPS1="${SSH_CLIENT:+\h:}\w"
+RPS1="\? ${SSH_CLIENT:+\h:}\w"
tsl=$'\e]0;'
fsl=$'\e\\'