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

Error with starting in fish+tmux #1

Open
HappyCthulhu opened this issue Apr 26, 2024 · 0 comments
Open

Error with starting in fish+tmux #1

HappyCthulhu opened this issue Apr 26, 2024 · 0 comments

Comments

@HappyCthulhu
Copy link

HappyCthulhu commented Apr 26, 2024

Hi! Thx for doing this plugin, it is very helpful for me. Issue, that i reporting is not happening all the time.

Problem

After i start fish with tmux, it gives me error:

fish: Unknown command: deactivate
~/.config/fish/conf.d/autoenv.fish (line 52):
      deactivate
      ^~~~~~~~~^
in function 'applyAutoenv'
        called on line 71 of file ~/.config/fish/conf.d/autoenv.fish
from sourcing file ~/.config/fish/conf.d/autoenv.fish
        called on line 248 of file /usr/share/fish/config.fish
from sourcing file /usr/share/fish/config.fish

        called during startup
Deactivated Virtual Enviroment ()
sessions should be nested with care, unset $TMUX to force
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish

After this error all funcationality of autovenv is not avaiable. Auto activation enviropment after entering directory is not happening.

After i remove tmux from fish-config traceback dissapears:

2024-04-26.09-14-06.mp4

How to reproduce

  • add tmux in fish.config
  • open fish (in my case, with alacritty)

but, again: this bug is not stable. Sometime it come up after update, than, in few days, it dissapears. Idk, why)

Do u have some thoughts in mind, how to solve this?

UPD: Error dissapeared again. What should i check, when it will appear again?

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

1 participant