1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-11 13:51:01 -05:00

Make alacritty(1) config paths resemble alacritty(5)

This also fixes the escaping in alacritty(5) page.
This commit is contained in:
Kirill Chibisov 2024-09-10 17:13:37 +03:00 committed by GitHub
parent 68f04024a3
commit 8dfd2e56ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 7 deletions

View file

@ -61,13 +61,17 @@ set of features with high performance.
Specify alternative configuration file. Specify alternative configuration file.
Alacritty looks for the configuration file at the following paths: Alacritty doesn't create the config file for you, but it looks for one in the
following locations on UNIX systems:
. _$XDG_CONFIG_HOME/alacritty/alacritty.toml_ . _$XDG_CONFIG_HOME/alacritty/alacritty.toml_
. _$XDG_CONFIG_HOME/alacritty.toml_ . _$XDG_CONFIG_HOME/alacritty.toml_
. _$HOME/.config/alacritty/alacritty.toml_ . _$HOME/.config/alacritty/alacritty.toml_
. _$HOME/.alacritty.toml_ . _$HOME/.alacritty.toml_
On Windows, the configuration file is located at _%APPDATA%\\alacritty\\alacritty.toml_. On Windows, the config file will be looked for in:
. _%APPDATA%\\alacritty\\alacritty.toml_
*--embed* _<PARENT>_ *--embed* _<PARENT>_

View file

@ -14,14 +14,14 @@ can be found at _https://toml.io/en/v1.0.0_.
Alacritty doesn't create the config file for you, but it looks for one in the Alacritty doesn't create the config file for you, but it looks for one in the
following locations on UNIX systems: following locations on UNIX systems:
. `$XDG_CONFIG_HOME/alacritty/alacritty.toml` . _$XDG_CONFIG_HOME/alacritty/alacritty.toml_
. `$XDG_CONFIG_HOME/alacritty.toml` . _$XDG_CONFIG_HOME/alacritty.toml_
. `$HOME/.config/alacritty/alacritty.toml` . _$HOME/.config/alacritty/alacritty.toml_
. `$HOME/.alacritty.toml` . _$HOME/.alacritty.toml_
On Windows, the config file will be looked for in: On Windows, the config file will be looked for in:
. `%APPDATA%\alacritty\alacritty.toml` . _%APPDATA%\\alacritty\\alacritty.toml_
# GENERAL # GENERAL