Personal dotfiles
git clone
Log | Files | Refs | LICENSE

commit 6aae6f1a683e0013fe80a5e0e1d7276643d80c89
parent 4cd03739c43b6edc5d4c43d9bdbaff8feea17b78
Author: Chris Bracken <>
Date:   Wed, 26 May 2021 23:55:17 -0700

Set TERM=xterm-256color in Alacritty

Alacritty uses terminal type 'alacritty' if it exists in the host's
terminfo database, otherwise it falls back to xterm-256color. This is
problematic when terminal type 'alacritty' exists on the local machine
but not a remote host that you're ssh-ing into, in which case, the
connection needs to be made as:

    TERM=xterm-256color ssh

Since xterm-256color covers all my needs, as far as I know, and since
alacritty isn't common enough to be included in terminfo files for most
operating systems, just default to xterm-256colors for now.

M.config/alacritty/alacritty.yml | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml @@ -1,3 +1,11 @@ +env: + # By default, alacritty checks the local terminfo database and uses terminal + # type `alacritty` if present, otherwise it falls back to `xterm-256color`. + # That said, most remote systems don't include `alacritty` in their terminfo + # database, and `xterm-256color` covers most of what we need, so we set that + # by default. + TERM: xterm-256color + font: size: 10.0