commit 9e0e6bed262060fec25465f1412273e6e22ff178
parent 0bf98096d1d874671e954244ac121d66974ecb2f
Author: Chris Bracken <chris@bracken.jp>
Date: Fri, 5 Oct 2018 16:19:17 -0700
Fix unquoted variable
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.zshrc b/.zshrc
@@ -59,7 +59,7 @@ fi
if [[ "$COLORTERM" == "gnome-terminal" ]] || \
[[ "$term_bin" == gnome-terminal* ]] || \
[[ "$term_bin" == urxvt* ]] || \
- [[ "$TERM" == "xterm-256color-italic" && ! $(tput -T$TERM longname > /dev/null 2>&1) ]]; then
+ [[ "$TERM" == "xterm-256color-italic" && ! $(tput -T"$TERM" longname > /dev/null 2>&1) ]]; then
export TERM=xterm-256color
fi
unset term_bin