Load direnv only if exists
This commit is contained in:
@@ -1,2 +1,7 @@
|
|||||||
eval "$(direnv hook bash)"
|
# Loading direnv bash hook
|
||||||
|
|
||||||
|
if command -v direnv > /dev/null; then
|
||||||
|
eval "$(direnv hook bash)"
|
||||||
|
else
|
||||||
|
echo "SKIP direnv"
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user