Skip to content

Exec

Where: menu bar → Settings… → Exec

The Exec destination, showing environment inheritance and variable override rows

The environment handed to every exec-and-forget command AeroSpace-edge runs — including the ones in callbacks and window rules.

Environment

Inherit environment variables from the launching process

Uses the environment AeroSpace-edge itself was launched with as the base. Turn it off and a command starts with only your explicit overrides plus the variables AeroSpace-edge provides — which means no PATH, so commands must be given as absolute paths.

TOML exec.inherit-env-vars · values true / false · default true · applies to commands run after reload

Environment variable overrides

Adds or replaces variables for every exec-and-forget. Each row is a variable name and its value; ${VAR} inside a value interpolates the inherited value, so a variable can extend rather than replace itself. PWD is managed by AeroSpace-edge and is rejected.

exec-* environment variables has the syntax in full, the Homebrew PATH fallback AeroSpace-edge applies when you don't override this section, and list-exec-env-vars for inspecting the end result.

TOML [exec.env-vars] · default no authored overrides · applies to commands run after reload

Whole-family rewrite

Changing either control on this page regenerates the complete exec family, including [exec.env-vars]. Comments inside it do not survive the Save.