Termfile and current path #6

afriqs opened this Issue Dec 2, 2011 · 0 comments


None yet
1 participant

afriqs commented Dec 2, 2011


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}" }


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