Skip to content

directory --file breaks on ENV variables.  #173

Open
@quintrino

Description

@quintrino

I seem to be running into an error with copying whole directories over when using a ENV in the path.

fresh config/espanso --file=~/.config/espanso/
works
fresh config/espanso --file=$XDG_CONFIG_HOME/espanso/
does not.

running
readlink ~/.config/espanso when I've used XDG_CONFIG produces
/Users/nick.wolf/.config/fresh/build/-Users-nick.wolf-.config-espanso

when the folder is created at
/Users/nick.wolf/.config/fresh/build/config-espanso

For the time being I've fixed it by using
fresh config/espanso --file=~/.config/espanso/

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