diff options
Diffstat (limited to 'bash')
| -rwxr-xr-x | bash/.bashrc | 6 |
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 |
| 193 | if exists liquidprompt; then | 193 | if exists liquidprompt; then |
| 194 | source $(which liquidprompt) 2> /dev/null | 194 | source liquidprompt 2> /dev/null |
| 195 | elif [ -f "/usr/share/liquidprompt/liquidprompt" ]; then | 195 | elif [ -f "/usr/share/liquidprompt/liquidprompt" ]; then |
| 196 | source /usr/share/liquidprompt/liquidprompt 2> /dev/null | 196 | source /usr/share/liquidprompt/liquidprompt 2> /dev/null |
| 197 | elif [ -f "/opt/homebrew/share/liquidprompt" ]; then | 197 | elif [ -f "/opt/homebrew/share/liquidprompt" ]; then |
| @@ -266,7 +266,9 @@ fi | |||
| 266 | 266 | ||
| 267 | if exists pyenv; then | 267 | if 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" |
| 271 | fi | 273 | fi |
| 272 | 274 | ||
