I updated the script in order to indicate when a user is within a virtual environment. Virtual environments are common in Python development https://docs.python-guide.org/dev/virtualenvs/
I am not sure if it makes more sense to append direct to the ___yonce_prompt_dir() instead of creating a separate function. I am also not sure why when the function is separated it is adding additional space. I can look into further refining if this functionality is of interest.
I updated the script in order to indicate when a user is within a virtual environment. Virtual environments are common in Python development https://docs.python-guide.org/dev/virtualenvs/
I am not sure if it makes more sense to append direct to the
___yonce_prompt_dir()
instead of creating a separate function. I am also not sure why when the function is separated it is adding additional space. I can look into further refining if this functionality is of interest.