diff options
author | Oscar Najera <hi@oscarnajera.com> | 2023-10-02 00:49:04 +0200 |
---|---|---|
committer | Oscar Najera <hi@oscarnajera.com> | 2023-10-02 00:49:04 +0200 |
commit | 2a4b9687993b001f0614e3fb96cae24af73aede7 (patch) | |
tree | ffefcda3c82de75c03d2798c237467ee896acfc5 /home-dots/dot-bashrc | |
parent | 6e205a249a2b3656bb1759bc9ed7f15918ca5654 (diff) | |
download | dotfiles-2a4b9687993b001f0614e3fb96cae24af73aede7.tar.gz dotfiles-2a4b9687993b001f0614e3fb96cae24af73aede7.tar.bz2 dotfiles-2a4b9687993b001f0614e3fb96cae24af73aede7.zip |
reduce bash dotfiles
Diffstat (limited to 'home-dots/dot-bashrc')
-rw-r--r-- | home-dots/dot-bashrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/home-dots/dot-bashrc b/home-dots/dot-bashrc index 8829999..0409c38 100644 --- a/home-dots/dot-bashrc +++ b/home-dots/dot-bashrc @@ -37,7 +37,7 @@ git_current_branch() { echo " ${ref#refs/heads/}" } -source /usr/bin/virtualenvwrapper_lazy.sh +[[ -f /usr/bin/virtualenvwrapper_lazy.sh ]] && source /usr/bin/virtualenvwrapper_lazy.sh python_current_venv() { local orange="\[\e[0;91m\]" if [[ -n ${VIRTUAL_ENV} ]]; then |