Direnv

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

External

Internal

Overview

Installation

Configuration

Create an .envrc file in the directory in question:

export JAVA_HOME="$(/usr/libexec/java_home -v 11)"
PATH_add "${JAVA_HOME}/bin"