Skip to content
This repository has been archived by the owner on Feb 14, 2020. It is now read-only.

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

Open
relrod opened this issue Jan 22, 2012 · 1 comment
Open

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

relrod opened this issue Jan 22, 2012 · 1 comment

Comments

@relrod
Copy link
Contributor

relrod commented Jan 22, 2012

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.

@causal-agent
Copy link
Collaborator

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants