From: Don Armstrong Date: Fri, 26 Apr 2019 04:44:00 +0000 (-0700) Subject: fix st- match X-Git-Url: https://git.donarmstrong.com/?p=zsh.git;a=commitdiff_plain;h=37f21b6b48a149aad7ef67c5828cae9cab5159be fix st- match --- 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;