mirror of
https://github.com/notwa/rc
synced 2024-05-18 09:53:22 -07:00
remove RPROMPT
i added this many years ago so i could repeat commands by their history number, but i've never once done that.
This commit is contained in:
parent
3d61c2eee4
commit
b8eb706746
|
@ -144,7 +144,6 @@ fi
|
||||||
function {
|
function {
|
||||||
if [[ "$TERM" != xterm* ]] && [[ "$TERM" != screen* ]]; then
|
if [[ "$TERM" != xterm* ]] && [[ "$TERM" != screen* ]]; then
|
||||||
PROMPT="%# "
|
PROMPT="%# "
|
||||||
unset RPROMPT
|
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -164,7 +163,6 @@ function {
|
||||||
|
|
||||||
# NOTE: i had ${s}10${e} here before, is it still necessary?
|
# NOTE: i had ${s}10${e} here before, is it still necessary?
|
||||||
PROMPT="%{$reset${s}%(?.${good}.${bad})${e}${s}97${e}%}%#%{$reset%} "
|
PROMPT="%{$reset${s}%(?.${good}.${bad})${e}${s}97${e}%}%#%{$reset%} "
|
||||||
RPROMPT="%{${s}90${e}%}%h%{$reset%}"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
TIMEFMT=$'\e[93m%*U/%*E cpu/real (%P), %MM mem:\e[36m %J\e[0m'
|
TIMEFMT=$'\e[93m%*U/%*E cpu/real (%P), %MM mem:\e[36m %J\e[0m'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user