Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hooks for running something when cd-ing into or out of a directory #12

Open
Spakman opened this issue Jul 10, 2011 · 2 comments
Open

Hooks for running something when cd-ing into or out of a directory #12

Spakman opened this issue Jul 10, 2011 · 2 comments
Assignees
Milestone

Comments

@Spakman
Copy link
Owner

Spakman commented Jul 10, 2011

I'm not entirely what the syntax for specifying this should be. Perhaps something like:

cd_on_entry do
  rake db:migrate
  rails server
end
@brandondrew
Copy link

how about this?

on_directory_entry do
  # do something...
end

@Spakman
Copy link
Owner Author

Spakman commented Sep 30, 2012

That's a lot nicer - cool!

Ideally, we'd just be able to enter this directly on the Urchin command line (once the parser becomes multi-line aware).

@Spakman Spakman self-assigned this Jul 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants