NAME
flox-activate-allow - allow auto-activation for an environmentSYNOPSIS
DESCRIPTION
Experimental: Auto-activation is experimental and behind a feature flag, and its behavior is subject to change. Enable it by settingPermits the selected environment to be auto-activated. Once an environment is allowed, the Flox prompt hook activates it automatically whenever you enter a directory containing it, without prompting (and deactivates it when you leave). The preference is stored in the user config file underFLOX_FEATURES_AUTO_ACTIVATE=truein your environment, or by runningflox config --set features.auto_activate true. See the AUTO-ACTIVATION section of flox-activate(1) for details.
auto_activate_environments, keyed by the
absolute path of the directory that contains the .flox directory.
By default flox activate allow targets the environment in the current
directory. Use --dir to target an environment in another directory.
To stop an environment from being auto-activated, run
flox-activate-deny.
See the AUTO-ACTIVATION section of
flox-activate for the full picture, including
the consent prompt and how to enable the feature.
OPTIONS
-d, --dirPath containing a .flox/ directory (defaults to the current directory).
General Options
-h, --helpPrints help information. The following options can be passed when running any
flox subcommand
but must be specified before the subcommand.
-v, --verboseIncrease logging verbosity. Invoke multiple times for increasing detail.
-q, --quietSilence logs except for errors.
EXAMPLES
Allow auto-activation for the environment in the current directory:SEE ALSO
flox-activate,
flox-activate-deny,
flox-config