You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/usr/bin/env bash
|
|
|
|
_direnv_hook() {
|
|
eval "$(direnv export bash)";
|
|
};
|
|
|
|
if [[ -x $(command -v direnv) ]]; then
|
|
if ! [[ "$PROMPT_COMMAND" =~ _direnv_hook ]]; then
|
|
PROMPT_COMMAND="_direnv_hook;$PROMPT_COMMAND";
|
|
fi
|
|
fi
|