aboutsummaryrefslogtreecommitdiffstats
path: root/bash
diff options
context:
space:
mode:
authorGravatar Tom van der Lee <t0m.vd.l33@gmail.com>2026-09-04 15:18:15 +0200
committerGravatar Tom van der Lee <t0m.vd.l33@gmail.com>2026-09-04 15:18:15 +0200
commitd4581693cc0c6120c98c1ee2f99122b9634bc71e (patch)
treec8d58ea96cce64b35c444f49deb1b62fb0eade88 /bash
parent800f87a50e8d9b47c50125bb16f37686f9905e67 (diff)
downloaddotfiles-d4581693cc0c6120c98c1ee2f99122b9634bc71e.tar.gz
dotfiles-d4581693cc0c6120c98c1ee2f99122b9634bc71e.tar.bz2
dotfiles-d4581693cc0c6120c98c1ee2f99122b9634bc71e.zip
Fix sourcing non executables
Diffstat (limited to 'bash')
-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