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

Use on_chdir event #4

Open
AstraLuma opened this issue Sep 2, 2016 · 2 comments
Open

Use on_chdir event #4

AstraLuma opened this issue Sep 2, 2016 · 2 comments

Comments

@AstraLuma
Copy link

Instead of aliasing cd, use the on_chdir event (new to v0.4.6).

@Granitosaurus
Copy link
Owner

Hey sorry for a very late reply but I've never seent this message :|

Eitherway I reworked to use on_chdir and PR the change. The downside of using events.on_chdir is that it will not be triggered if directory doesn't actualy change e.g. cd . if you want to rerun .autoxsh file, I'm not sure if there's an easy solution for that.

@AstraLuma
Copy link
Author

Yeah, avox has the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants