Commit Graph

2 Commits (b712bc45dddd946ec26a4bb3adaa417a37f153ae)

Author SHA1 Message Date
nirenjan b712bc45dd Add virtualenv to prompt, if it exists
With my starting to get deeper into Python development, I noticed an
issue with the virtualenv, where the current virtualenv was not set on
activation. I traced this to the fact that PS1 is always reset in the
prompt_header function, therefore, I need to add the virtual environment
details into prompt_header

This change checks if the virtual environment is set, if so, it adds the
current virtual environment to the prompt in magenta color.
2019-02-25 20:55:07 -08:00
nirenjan 8f9698bf75 Add Zsh config files
Prior to this change, I was using Bash as the default shell, but I have
now started using Zsh, which has more features.

This change adds the zshrc and related plugin files to source control
and installs them along with the bashrc files. This also updates tmux to
use zsh as the default shell and command.
2018-10-19 15:45:51 -07:00