eval cannot be sourced, it must be executed
parent
cdeb94a9e4
commit
a3c339b821
|
@ -15,3 +15,13 @@ if [ -d "$HOME/.config/bash" ]; then
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
unset rc
|
unset rc
|
||||||
|
|
||||||
|
if which direnv > /dev/null 2>&1 ; then
|
||||||
|
eval "$(direnv hook bash)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if which zoxide > /dev/null 2>&1 ; then
|
||||||
|
eval "$(zoxide init bash)"
|
||||||
|
# shellcheck disable=SC2139
|
||||||
|
alias z="$(which zoxide)"
|
||||||
|
fi
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
if which direnv > /dev/null 2>&1 ; then
|
|
||||||
eval "$(direnv hook bash)"
|
|
||||||
fi
|
|
|
@ -1,5 +0,0 @@
|
||||||
if which zoxide > /dev/null 2>&1 ; then
|
|
||||||
eval "$(zoxide init bash)"
|
|
||||||
# shellcheck disable=SC2139
|
|
||||||
alias z="$(which zoxide)"
|
|
||||||
fi
|
|
Loading…
Reference in New Issue