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" }