generated from carpentries/workbench-template-md
-
-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
What is the problem?
A little 'gotcha' that got me!
- I'm running Ubuntu 24.04
- My default shell is zsh
In Visual Studio Code and in Ubuntu terminal, the prompt did not change when a venv was activated.
Changing shell by typing bash at the command line after activating the venv didn't help.
To get the same behaviour as in the lesson notes I had to:
- launch bash shell in Ubuntu terminal before activating the venv
- launch a bash shell from the 'Launch Profile' button to the right of the terminal
VSCode drop down menu 'Launch Profile'
with venv_spacewalks activated...
my prompt in zsh:
user@laptop ~/BetterResearchSW/spacewalks
%
my prompt in bash:
(venv_spacewalks) user@laptop ~/BetterResearchSW/spacewalks $
Location of problem (optional)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels