projects
/
zsh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b594c68
)
fix st- match
author
Don Armstrong
<don@donarmstrong.com>
Fri, 26 Apr 2019 04:44:00 +0000
(21:44 -0700)
committer
Don Armstrong
<don@donarmstrong.com>
Fri, 26 Apr 2019 04:44:00 +0000
(21:44 -0700)
.zsh/zshrc/10_switch_term
patch
|
blob
|
history
diff --git
a/.zsh/zshrc/10_switch_term
b/.zsh/zshrc/10_switch_term
index 6fefe6979a1f89acc9d9630817795ce3b1a62d03..0dbc66caabdf37483006303773e6e248e5b78df1 100644
(file)
--- 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##st
term
-}"
+ TERM="xterm-${TERM##st-}"
export TERM
fi;
fi;