oh-my-fish / plugin-direnv

Unclutter your .profile http://direnv.net
MIT License
14 stars 9 forks source link

using same event as rvm, and due alphabetical loading order, causing it to execute first #1

Closed kdiogenes closed 8 years ago

derekstavis commented 8 years ago

Cool! Thanks :+1:

Bastes commented 7 years ago

Hi @cerdiogenes, @derekstavis ; I'm having an issue with that change: https://github.com/oh-my-fish/plugin-direnv/issues/2

I've sent a pull request to fix it: https://github.com/Bastes/plugin-direnv/pull/1

But I guess that, if merged, it can break your own fix. I'd be glad to find a fix that works for both cases, but I can't seem to find a lead on how to react to a new split / tab session of fish. Would one of you fellows have an idea on how to do this? Repeating cd . on each split / tab defeats the purpose of this plugin a little bit...