Skip to content

Loading…

Delete symlinks that point to deleted/moved targets. #1

Open
relrod opened this Issue · 1 comment

2 participants

@relrod

We talked on IRC about this a bit, but basically if effuse somehow kept track of what it created symlinks of (maybe in a yaml dotfile or something), --clean could read that file, and delete the symlinks mentioned in it.

Then, if you wanted to have your git repo instantly update your dotfiles (including deleting old ones), you could shove effuse --clean && effuse in .git/hooks/post-merge.

You mentioned that this would complicate things a bit, but it's just a nicetohave.

@programble
Owner

Going to add for todo purposes:

  • Make sure to ignore the file it saves things in
  • Possibly add a --update option to do what effuse --clean && effuse would do
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.