Closed ghost closed 5 years ago
That's strange; I've just tested this and it works fine for me.
What OS version, version of fish (echo $FISH_VERSION
) and virtualfish (echo $VIRTUALFISH_VERSION
) are you using? (For comparison, mine is macOS 10.12.6, Fish 2.6.0, virtualfish 1.0.5.)
Hi. Thanks for the support. It's still happening, as you can see in this new recording: https://streamable.com/zdpi8
macOS 10.12.6 Fish 2.6.0 Virtualfish 1.0.5
Maybe something wrong with the auto-activation plugin? Thanks.
What happens if you move the event handler above the eval
line?
Yep, that fixed it 🎉
Awesome!
I'll leave this ticket open for now, because we probably need to document this behaviour.
It seems that events are not fired when you are inside a folder connected with a virtualenv (
vf connect
) and you open a new tab (by default on Mac OS it opens with the current path).As you can see on the demo below, the virtualenv gets activated, but the
postactivate
function that's linked tovirtualenv_did_activate
event does not execute.This is my
config.fish
And here is a little demo: https://streamable.com/ez6nh
Thanks.