summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@nullring.xyz>2026-03-05 16:55:17 -0800
committerPreston Pan <ret2pop@nullring.xyz>2026-03-05 16:55:17 -0800
commita6df8b0ff609fb56409934fee4b11e55a0da88c9 (patch)
tree8102a0acd98f1815ee25649e2dc38552daee9fb1 /flake.nix
parent0ea853e905c151e349dc148537c7e3930e336bec (diff)
parent8d517f02482615136f12507fd2c76d73743dd616 (diff)
Merge branch 'chore/fix-hooks'
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index c2d5703..603c15a 100644
--- a/flake.nix
+++ b/flake.nix
@@ -197,6 +197,7 @@ cp -r $HOME/website_html/. $out/
shellHook = ''
${pre-commit-check.shellHook}
git config branch.main.mergeoptions "--no-ff"
+alias gprune='git branch --merged | grep -v -E "^\*|main|master|dev" | xargs -r git branch -d'
'';
buildInputs = [
deadnix