From cc49e8adccac65a9e46ccbb2a03301eb5112b689 Mon Sep 17 00:00:00 2001 From: Sebastian Moser Date: Wed, 1 Nov 2023 20:15:19 +0100 Subject: [PATCH] add my git commit alias --- programs/bash.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/programs/bash.nix b/programs/bash.nix index 37addd9..9fb8d7f 100644 --- a/programs/bash.nix +++ b/programs/bash.nix @@ -166,6 +166,14 @@ } + + # git commit func + function gc(){ + tmp=$(echo -en $@) + git commit -m "$tmp" + } + + # while true -> do cat..... function follow (){ while true;