-
Notifications
You must be signed in to change notification settings - Fork 626
Direnv bin dir
Aurélien Maury edited this page Oct 1, 2021
·
5 revisions
Creates a .direnv/bin
directory and adds it at first position in $PATH
In your .envrc
:
#
# Direnv bin dir
# ==============
#
DIRENV_TMP_DIR="${PWD}/.direnv"
DIRENV_BIN_DIR="${DIRENV_TMP_DIR}/bin"
[ ! -e "${DIRENV_BIN_DIR}" ] && mkdir -p "${DIRENV_BIN_DIR}"
export PATH="${DIRENV_BIN_DIR}:${PATH}"