mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-03 04:34:21 -05:00
Fix invalid default config
Serde has problems deserializing yaml files which contain sections without any values. Since the `TERM` setting has been removed recently, the `env` section was completely empty leading to deserialization errors. To resolve this the `env` section has been commented-out by default, if the user wants to set a variable, it is now necessary to uncomment that section. Some minor tweaks have also been made to the existing `TERM` comments, to clearly indicate these are value examples instead of comments.
This commit is contained in:
parent
44909bae69
commit
36920fb071
2 changed files with 4 additions and 5 deletions
|
@ -1,10 +1,9 @@
|
||||||
# Configuration for Alacritty, the GPU enhanced terminal emulator.
|
# Configuration for Alacritty, the GPU enhanced terminal emulator.
|
||||||
|
|
||||||
|
|
||||||
# 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
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# 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
|
||||||
|
|
Loading…
Reference in a new issue