vimcmdline
vimcmdline copied to clipboard
Inheriting environment variable PATH from vim for conda virtual environment
I tried to use vimcmdline
with conda
, however it doesn't work due to the fact that the newly created python
interpreter does not inherit the environment variable PATH
from vim
.
It works by appending /shared/conda/envs/environ_name
to environment variable PATH
.
So adding 'env PATH=' . $PATH
when launching python
through tmux
should work.