Vscode, venv and fish Shell

Work around at problems on fish shell into vscode terminal when use venv

Nicola Landro
Nov 1, 2022

Fish shell is a very powerfull shell that I prefer to zsh.

Venv is important in python, that allow you to manage separatelly the libraries

Sometimes when fish update Vscode made some error on automatically detect venv, This is a simple work around when it happen.

Workaround

source deactivate
exec fish
source /Absolute/Path/venv/b/activate.fish

Conclusions

Also with zsh in the past there are many problems of compatibility but it was accepted for the other advantages that it grant, and now also for fish happen the same think but I prefer fish after many years of zsh now I switch and I’m happy, I hope that in the future all things will be support well fish shell.

--

--

Nicola Landro

Linux user and Open Source fun. Deep learning PhD. , Full stack web developer, Mobile developer, cloud engineer and Musitian.