I do coding in virtualenv and at present I access my virtualenv in VTE using `virutalenvwrapper` with the command `workon ENV`. Instead of this I want to directly load the virtualenv bash in VTE everytime I open geany. I know how to get the virtualenv's python but its the bash I am after. I tried changing `Edit > Preference > Terminal > Shell` to `workon ENV` from `/bin/bash` which doesn't work. I also tried to source directly `source ENV/bin/activate` which also doesn't work. How do we enablel virtualenv bash in VTE?
The setting you used is correct, but its a path to an executable, not a command. So you need to set it to the correct path.
Actually it will accept arguments separated by spaces I think, but its still spawned directly, not run _by_ a shell, since its being used _as_ a shell.
I didnt get this
``` Actually it will accept arguments separated by spaces I think, but its still spawned directly, not run by a shell, since its being used as a shell. ``` I tried with spaces as well `/bin/bash workon venv` but didn't work
I tried with spaces as well /bin/bash workon venv but didn't work
well that makes bash run the script called `workon` with one argument `venv` then exit, it doesn't run as an interactive shell.
github-comments@lists.geany.org