From e1769157c5c7f4b2e095397896511e0999d13f9b Mon Sep 17 00:00:00 2001 From: ulve Date: Sat, 13 Jun 2026 11:21:23 +0200 Subject: [PATCH] add cap function --- home.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home.nix b/home.nix index b345ed0..06574c9 100644 --- a/home.nix +++ b/home.nix @@ -49,6 +49,10 @@ bindkey "^[OA" up-line-or-beginning-search bindkey "^[OB" down-line-or-beginning-search + function cap() { + git add -A && git commit -m "$*" && git push + } + function gc() { sudo nix-collect-garbage --delete-older-than "''${1:-14}d" }