From 08148aea98e91ee814b50402f69a4eb1e80fce4b Mon Sep 17 00:00:00 2001 From: Mike Levin Date: Tue, 14 Jul 2026 04:24:56 -0400 Subject: [PATCH] chore: Refactor blast function for commit and push --- flake.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/flake.nix b/flake.nix index b71fb883..e179c1c7 100644 --- a/flake.nix +++ b/flake.nix @@ -805,6 +805,15 @@ print(max(1, n)) echo "📝 Committing: $msg" git commit -am "$msg" } + # THE BLAST RADIUS: m + push + status in one detonation. + # Short-circuits: no message -> no commit -> no push. Clean tree + # aborts at m (ai.py exits empty), so blast is safe to spam. + blast() { + m || return 1 + echo "🚀 Pushing to remote..." + git push || return 1 + clear && echo "$ git status" && git status + } alias app='cat patch | python apply.py' figurate() { local name="''${1:-white_rabbit}"