diff options
author | June McEnroe <june@causal.agency> | 2019-11-20 21:47:12 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-11-20 21:47:12 -0500 |
commit | dabd027bd000a7ef9468909fe4fcfe8bed860c4c (patch) | |
tree | 17fb0c70aefe3440716ad4348ba58ca28131ebfd | |
parent | Add \? exit status prompt expansion (diff) | |
download | src-dabd027bd000a7ef9468909fe4fcfe8bed860c4c.tar.gz src-dabd027bd000a7ef9468909fe4fcfe8bed860c4c.zip |
Add \? to prompt
-rw-r--r-- | home/.config/1sh/env.sh | 3 |
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\\' |