mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-24 17:34:35 +00:00
Don't set local var (remains set)
This commit is contained in:
parent
d62ad7350f
commit
c142161840
|
@ -2,7 +2,6 @@
|
||||||
# fall back to xterm. This fixes SSH connections from unknown terminals
|
# fall back to xterm. This fixes SSH connections from unknown terminals
|
||||||
|
|
||||||
if ! infocmp "$TERM" &>/dev/null; then
|
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
|
export TERM=xterm-256color
|
||||||
echo "TERM set to $TERM due to missing terminfo entry for $original."
|
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue