fix(just): set JUSTFILE to global justfile

This commit is contained in:
randogoth 2026-02-05 09:44:26 +02:00
parent ddf31b7f94
commit 1cabb64b8a

View file

@ -58,4 +58,7 @@ in
{ {
# Global Just recipes (system-wide). Used when `XDG_CONFIG_DIRS` includes `/etc/xdg` (default). # Global Just recipes (system-wide). Used when `XDG_CONFIG_DIRS` includes `/etc/xdg` (default).
environment.etc."xdg/just/justfile".text = justfileText; environment.etc."xdg/just/justfile".text = justfileText;
# Make `just` pick up the global justfile by default (otherwise it only searches CWD/parents).
environment.sessionVariables.JUSTFILE = "/etc/xdg/just/justfile";
} }