diff options
author | Christian Duerr <chrisduerr@users.noreply.github.com> | 2018-10-07 18:40:58 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-07 18:40:58 +0000 |
commit | 36920fb07184df5962b017d63b8b97cbdc25dcbe (patch) | |
tree | eed803ea9f18b5074b4f8512af6ec4886cd3e365 | |
parent | 44909bae69741f01c0aa354c03dac3f4b358c264 (diff) | |
download | alacritty-36920fb07184df5962b017d63b8b97cbdc25dcbe.tar.gz alacritty-36920fb07184df5962b017d63b8b97cbdc25dcbe.zip |
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.
-rw-r--r-- | alacritty.yml | 5 | ||||
-rw-r--r-- | alacritty_macos.yml | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/alacritty.yml b/alacritty.yml index 38da01dd..11a9e6ae 100644 --- a/alacritty.yml +++ b/alacritty.yml @@ -1,10 +1,9 @@ # Configuration for Alacritty, the GPU enhanced terminal emulator. - # Any items in the `env` entry below will be added as # environment variables. Some entries may override variables # set by alacritty itself. -env: +#env: # TERM variable # # This value is used to set the `$TERM` environment variable for @@ -12,7 +11,7 @@ env: # check the local terminfo database and use 'alacritty' if it is # available, otherwise 'xterm-256color' is used. # - # TERM: xterm-256color + #TERM: xterm-256color window: # Window dimensions (changes require restart) diff --git a/alacritty_macos.yml b/alacritty_macos.yml index 25151d39..1feffbd1 100644 --- a/alacritty_macos.yml +++ b/alacritty_macos.yml @@ -3,7 +3,7 @@ # Any items in the `env` entry below will be added as # environment variables. Some entries may override variables # set by alacritty itself. -env: +#env: # TERM variable # # This value is used to set the `$TERM` environment variable for @@ -11,7 +11,7 @@ env: # check the local terminfo database and use 'alacritty' if it is # available, otherwise 'xterm-256color' is used. # - # TERM: xterm-256color + #TERM: xterm-256color window: # Window dimensions (changes require restart) |