mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2025-06-30 04:20:43 +00:00
Major rewrite: switching back to Arch from NixOS
This commit is contained in:
parent
df585b737b
commit
254181c0fc
121 changed files with 5433 additions and 2371 deletions
8
home/.config/zsh/rc/fallback_term.zsh
Normal file
8
home/.config/zsh/rc/fallback_term.zsh
Normal file
|
@ -0,0 +1,8 @@
|
|||
# If the set $TERM variable doesn't match any configured terminfo entries
|
||||
# fall back to xterm. This fixes SSH connections from unknown terminals
|
||||
|
||||
if ! infocmp "$TERM" &>/dev/null; then
|
||||
echo "Setting \$TERM to xterm-256color due to missing terminfo entry for $TERM."
|
||||
export TERM=xterm-256color
|
||||
fi
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue