aboutsummaryrefslogtreecommitdiffstats
path: root/bash/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'bash/.bashrc')
-rwxr-xr-xbash/.bashrc6
1 files changed, 4 insertions, 2 deletions
diff --git a/bash/.bashrc b/bash/.bashrc
index bb66b40..9ba47fd 100755
--- a/bash/.bashrc
+++ b/bash/.bashrc
@@ -191,7 +191,7 @@ fi
191 191
192# Fancy bash prompt 192# Fancy bash prompt
193if exists liquidprompt; then 193if exists liquidprompt; then
194 source $(which liquidprompt) 2> /dev/null 194 source liquidprompt 2> /dev/null
195elif [ -f "/usr/share/liquidprompt/liquidprompt" ]; then 195elif [ -f "/usr/share/liquidprompt/liquidprompt" ]; then
196 source /usr/share/liquidprompt/liquidprompt 2> /dev/null 196 source /usr/share/liquidprompt/liquidprompt 2> /dev/null
197elif [ -f "/opt/homebrew/share/liquidprompt" ]; then 197elif [ -f "/opt/homebrew/share/liquidprompt" ]; then
@@ -266,7 +266,9 @@ fi
266 266
267if exists pyenv; then 267if exists pyenv; then
268 eval "$(pyenv init -)" 268 eval "$(pyenv init -)"
269 eval "$(pyenv virtualenv-init -)" 269 if pyenv commands | grep -qx virtualenv-init; then
270 eval "$(pyenv virtualenv-init -)"
271 fi
270 export PATH="$PATH:$(pyenv root)/shims" 272 export PATH="$PATH:$(pyenv root)/shims"
271fi 273fi
272 274