.config/alacritty/alacritty.yml: Override TERM

Remote hosts that don't have alacritty in their terminfo database
show warnings when using programs like less. In one case I even had
an Ubuntu 18.04 server fail to complete its updates because of some
error related to locales caused by this.
This commit is contained in:
Alan Orth 2020-04-02 10:39:18 +03:00
parent 1bd54ee516
commit 44f67af478
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -3,14 +3,15 @@
# Any items in the `env` entry below will be added as # Any items in the `env` entry below will be added as
# environment variables. Some entries may override variables # environment variables. Some entries may override variables
# set by alacritty itself. # set by alacritty itself.
#env: env:
# TERM variable # TERM variable
# #
# This value is used to set the `$TERM` environment variable for # This value is used to set the `$TERM` environment variable for
# each instance of Alacritty. If it is not present, alacritty will # each instance of Alacritty. If it is not present, alacritty will
# check the local terminfo database and use `alacritty` if it is # check the local terminfo database and use `alacritty` if it is
# available, otherwise `xterm-256color` is used. # available, otherwise `xterm-256color` is used.
#TERM: xterm-256color # 2020-04-01: avoid errors on remote systems when using less etc.
TERM: xterm-256color
#window: #window:
# Window dimensions (changes require restart) # Window dimensions (changes require restart)