moonglum / exogenesis

Build your dotfile installer, updater and teardown
MIT License
20 stars 8 forks source link

Symlink a file from git_repo working copy #58

Closed gildesmarais closed 10 years ago

gildesmarais commented 10 years ago

I'm using a ZSH theme (https://github.com/jeremyFreeAgent/oh-my-zsh-powerline-theme) for my oh-my-zsh setup. I set up the git_repo passenger to pull the repo.

A file needs to be executed afterwards to symlink the theme-file (similarly to #57). Not every repository I check out contains such an install script, so it would be nice to be able to symlink the file automatically.

How can this be achieved?

moonglum commented 10 years ago

Would my fix in #57 solve this as well?

gildesmarais commented 10 years ago

Your fix will solve it if the git_repo passenger is executed before the (to be created) shell passenger. As far as I can see the order is determined by the passenger array in the user's packages.yml, so it should work out.

moonglum commented 10 years ago

Yep, the order is determined in the passenger and I think git_repo should be the first one to be executed.

gildesmarais commented 10 years ago

Closing this issue as the problem can now be solved with the Shell passenger.