Skip to content

Preserve dotfiles inside nested directories #306

Description

@pol-rivero

I have some dotfiles that look like this: ~/dir/.some-config, but I haven't been able to figure out how to add those files to RCM.
If I add the file as ~/.dotfiles/dir/.some-config, rcup ignores the file since it starts with a dot, but if I add it as ~/.dotfiles/dir/some-config, it gets installed as ~/dir/some-config instead of ~/dir/.some-config.

I know I could use a hook to rename these files, but this seems like a very basic and common use case, so I must be missing something. How would you accomplish this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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