3 ms·
Does this (and the one linked to: https://direnv.net/docs/development.html https://direnv.net/docs/development.html) do anything that a simple bash entry can't:
by flukus 7y ago
Does this (and the one linked to: https://direnv.net/docs/development.html https://direnv.net/docs/development.html) do anything that a simple bash entry can't:
function lenv {
if [ -f '.env' ]; then
source .env
fi
}
function cd { builtin cd $@; lenv; }