Skip to content

Configuration and symbolic link : report errors but configuration is reloaded #8596

Open
@FreyjaWildes

Description

@FreyjaWildes

Hi,

I've done some digging but couldn't find someone with the same issue as I have.

My Alacritty configuration is in /home/user/.config/alacritty directory. That directory is a symbolic link to a directory of a git repository /home/user/repos/dotfiles/alacritty. So the setup is the following:

/home/user/.config/alacritty -> /home/user/repos/dotfiles/alacritty

~> ls -l /home/user/repos/dotfiles/alacritty
total 4
-rw-r--r-- 1 user user 148 Jun 10 12:08 alacritty.toml

When edition the configuration, Alacritty reports an error :

[ERROR] [alacritty_config_derive] Unable to load config "/home/user/.config/alacritty/alacritty.toml": File not found

Yet the configuration is in fact taken into account. For example, if I change the font size, it is updated.

The contant of my configuration file:

[general]
live_config_reload = true

[font]
size = 20.0
normal =  { family = "Adwaita Mono", style = "normal" }

[terminal]
shell = "/usr/bin/fish"

I'm mainly trying to understand where the inconsistency between the behavior and the error message originates. What am I missing?

Note: some path have been altered as to not expose my user name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions