aboutsummaryrefslogtreecommitdiffstats
path: root/home-dots/dot-bashrc
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2023-10-02 00:49:04 +0200
committerOscar Najera <hi@oscarnajera.com>2023-10-02 00:49:04 +0200
commit2a4b9687993b001f0614e3fb96cae24af73aede7 (patch)
treeffefcda3c82de75c03d2798c237467ee896acfc5 /home-dots/dot-bashrc
parent6e205a249a2b3656bb1759bc9ed7f15918ca5654 (diff)
downloaddotfiles-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-bashrc2
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