Don't set local var (remains set)

This commit is contained in:
ItsDrike 2024-03-25 23:41:19 +01:00
parent d62ad7350f
commit c142161840
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0

View file

@ -2,7 +2,6 @@
# fall back to xterm. This fixes SSH connections from unknown terminals
if ! infocmp "$TERM" &>/dev/null; then
local original="$TERM"
echo "Setting \$TERM to xterm-256color due to missing terminfo entry for $TERM."
export TERM=xterm-256color
echo "TERM set to $TERM due to missing terminfo entry for $original."
fi