Improved justfile script env caching

This commit is contained in:
2026-04-07 13:05:41 +01:00
parent c4d74f74b8
commit 2ce738fc0e
7 changed files with 19 additions and 9 deletions
+3 -3
View File
@@ -99,12 +99,12 @@ cleanup days="":
# Open the editor (nvim, yazi, or heh) for a target
edit target:
@scripts/edit.py "{{target}}"
@direnv exec . scripts/edit.py "{{target}}"
# Edit packages.nix for a specific system/user (run 'just packages help' for flags)
packages *flags:
@scripts/packages.bb {{flags}}
@direnv exec . scripts/packages.bb {{flags}}
# Bootstrap a fresh system from the repo
bootstrap:
@scripts/bootstrap.py
@direnv exec . scripts/bootstrap.py