1
0
Fork 0

Minor cleanup

main
Ambrose Chua 2021-10-21 10:46:18 +08:00
parent 81fa27c912
commit 85d607cf9d
1 changed files with 4 additions and 5 deletions

9
.zshrc
View File

@ -304,13 +304,12 @@ setup_prompt() {
prompt_title_machine=$'%m#'
fi
case "$TERM" in
screen*)
;;
*)
prompt_fmt_italic=$(tput sitm)
prompt_fmt_reset=$(tput sgr0)
screen*|tmux*)
prompt_title_machine=
;;
esac
prompt_fmt_italic=$(tput sitm)
prompt_fmt_reset=$(tput sgr0)
case "$TERM" in
cygwin|xterm*|putty*|rxvt*|ansi|tmux*)
prompt_fmt_title=$'\e]1;'