From 2a4b9687993b001f0614e3fb96cae24af73aede7 Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Mon, 2 Oct 2023 00:49:04 +0200 Subject: reduce bash dotfiles --- home-dots/dot-bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'home-dots/dot-bashrc') 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 -- cgit v1.2.3