NAME
flox-activate-deny - deny 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 settingPrevents the selected environment from being auto-activated. Once an environment is denied, the Flox prompt hook skips it silently when you enter a directory containing it, and you are no longer prompted for it. 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.
Denying an environment does not deactivate it if it is already active;
it only prevents future auto-activation. Run
flox-deactivate to leave an environment
that is currently active.
By default flox activate deny targets the environment in the current
directory. Use --dir to target an environment in another directory.
To allow an environment to be auto-activated again, run
flox-activate-allow.
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
Deny auto-activation for the environment in the current directory:SEE ALSO
flox-activate,
flox-activate-allow,
flox-config