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 | 0ee40050e4640dde8b8c17a1c290ed06b96bc4af (patch) | |
tree | bf0f821c3b207ea74c3aa0df0ac09ba212ff9899 /home | |
parent | Add \? exit status prompt expansion (diff) | |
download | src-0ee40050e4640dde8b8c17a1c290ed06b96bc4af.tar.gz src-0ee40050e4640dde8b8c17a1c290ed06b96bc4af.zip |
Add \? to prompt
Diffstat (limited to 'home')
-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\\' |