X-Git-Url: https://git.donarmstrong.com/?p=zsh.git;a=blobdiff_plain;f=.zsh%2Fzshrc%2F10_switch_term;h=0dbc66caabdf37483006303773e6e248e5b78df1;hp=6fefe6979a1f89acc9d9630817795ce3b1a62d03;hb=37f21b6b48a149aad7ef67c5828cae9cab5159be;hpb=b594c68698929f8ab5b15fbbeaf6c8e80de08267 diff --git a/.zsh/zshrc/10_switch_term b/.zsh/zshrc/10_switch_term index 6fefe69..0dbc66c 100644 --- a/.zsh/zshrc/10_switch_term +++ b/.zsh/zshrc/10_switch_term @@ -25,7 +25,7 @@ if [[ "$TERM" =~ "stterm-" ]] && which tput >/dev/null 2>&1; then fi; if [[ "$TERM" =~ "st-" ]] && which tput >/dev/null 2>&1; then if [[ -z "$(tput longname 2>/dev/null)" ]]; then - TERM="xterm-${TERM##stterm-}" + TERM="xterm-${TERM##st-}" export TERM fi; fi;