Skip to content

Commit

Permalink
Make alacritty(1) config paths resemble alacritty(5)
Browse files Browse the repository at this point in the history
This also fixes the escaping in alacritty(5) page.
  • Loading branch information
kchibisov authored Sep 10, 2024
1 parent 68f0402 commit 8dfd2e5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
8 changes: 6 additions & 2 deletions extra/man/alacritty.1.scd
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,17 @@ set of features with high performance.

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.toml_
. _$HOME/.config/alacritty/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>_

Expand Down
10 changes: 5 additions & 5 deletions extra/man/alacritty.5.scd
Original file line number Diff line number Diff line change
Expand Up @@ -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
following locations on UNIX systems:

. `$XDG_CONFIG_HOME/alacritty/alacritty.toml`
. `$XDG_CONFIG_HOME/alacritty.toml`
. `$HOME/.config/alacritty/alacritty.toml`
. `$HOME/.alacritty.toml`
. _$XDG_CONFIG_HOME/alacritty/alacritty.toml_
. _$XDG_CONFIG_HOME/alacritty.toml_
. _$HOME/.config/alacritty/alacritty.toml_
. _$HOME/.alacritty.toml_

On Windows, the config file will be looked for in:

. `%APPDATA%\alacritty\alacritty.toml`
. _%APPDATA%\\alacritty\\alacritty.toml_

# GENERAL

Expand Down

0 comments on commit 8dfd2e5

Please sign in to comment.