integrate virtualenv indicator into custom zsh prompt
The zsh prompt looks broken when a virtualenv is activated. This PR adds better support for virtual environments that use the VIRTUAL_ENV environment variable.
Description
Before
The screenshot below shows the current state of the zsh prompt when a virtualenv is activated. Notice that after the virtual environment is activated, the prompt looks broken because the indicator comes at the beginning of the line.
After
After this change, the format of the prompt will be --(venv)(kali@kali)-[~]
when a virtualenv is activated. The screenshot below shows the prompt after the fix. Notice that the virtualenv name is now integrated into the prompt.
I'm also open to suggestions about the best way to integrate it into the prompt. Let me know if you'd like it formatted differently, and I'll update the PR.