Skip to content

"Failed to parse config" when config is in symlinked directory #378

@buster

Description

@buster

I'm linking my dotfiles from another directory and mako doesn't seem to work with symlinked config files:

~/.config
❯ pwd
/home/buster/.config

~/.config
❯ cat mako/config
layer=overlay
anchor=top-left

~/.config
❯ mako
^C
~/.config took 2s
❯ echo "mako runs.."
mako runs..

~/.config
❯ rm -rf mako/

~/.config
❯ ln -s ~/Sync/dotfiles/misc/.config/mako

~/.config
❯ cat mako/config
layer=overlay
anchor=top-left

~/.config
❯ ls -la mako
lrwxrwxrwx 1 buster buster 44 22. Aug 17:35 mako -> /home/buster/Sync/dotfiles/misc/.config/mako

~/.config
❯ mako
Unable to open /home/buster/.config/mako/config for readingFailed to parse config

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions