Skip to content

Directory Level Linking and Include Directory for Hooks #140

@markfaine

Description

@markfaine

Is there a way to ensure linking is always at the directory level. I understand tuckr follows how stow does it and basically the folder has to not exist for it to be linked at the directory otherwise it will descend into the directory and symlink files. Is there a way to just rename that folder something, like foo-1773670137 or just forcefully delete it. I tried the docs and searching but everything I saw was basically delete the folder with a pre-hook but sometimes you don't have any idea what is creating the folder and though you delete it with a pre-hook it still manages to come back before linking.

Another thing, I've been working on an honest attempt at getting all my dotfiles up-to-date and fully tuckr'ized and I noticed that all of my pre/post/rm_ hooks have similar code, basically a bunch of convenience functions, is there a directory where we can put scripts for automatic inclusion in hook scripts? If not, I think that would help me a lot.

Edit: by automatic inclusion, I mean sourcing it in the hook script, like . ~/.config/dotfiles/includes/functions.sh or similar.

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