Termfile and current path #6

Open
afriqs opened this Issue Dec 2, 2011 · 0 comments

Comments

Projects
None yet
1 participant

afriqs commented Dec 2, 2011

Hi,

I am configuring a per-project Termfile. Everything is ok until I start it. Indeed the path used seems to be the home one ~. I thought it would start regarding the current path. Of course I could use the before method to cd to the directory but I think the main advantage of this usage would be to use the setup whenever the git repo is cloned.

EDIT: simple workaround

current_path = Dir.pwd

before { run "cd #{current_path}" }

Cheers.

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