[x] I have provided my .aws/config (redacted if necessary)
[x] I have provided the debug output using aws-vault --debug (redacted if necessary)
I have a question about how do you preserve the previous shell after running exec command. I understand that exec creates a subshell, and if I have a python virtual env activated it will be deactivated in the subshell.
Here's an example:
❯ which python
/Users/glyphack/.virtualenvs/data-products-infra/bin/python
❯ aws-vault exec bren-sa-na-prod
Starting subshell /usr/local/bin/fish, use `exit` to exit the subshell
❯ which python
/Users/glyphack/.pyenv/shims/python
Could you provide some resources on how can I change my config so that the virtual env is kept activated?
.aws/config
(redacted if necessary)aws-vault --debug
(redacted if necessary)I have a question about how do you preserve the previous shell after running
exec
command. I understand thatexec
creates a subshell, and if I have a python virtual env activated it will be deactivated in the subshell.Here's an example:
Could you provide some resources on how can I change my config so that the virtual env is kept activated?