add cap function

This commit is contained in:
2026-06-13 11:21:23 +02:00
parent 589d8f739c
commit e1769157c5
+4
View File
@@ -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"
}