From a08bbc589baa2bba6f15765b33ec416a83f6a1a5 Mon Sep 17 00:00:00 2001 From: Huck Boles Date: Sun, 28 May 2023 09:58:05 -0500 Subject: [PATCH] removed: function for zoxide --- include/functions.zsh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/include/functions.zsh b/include/functions.zsh index 5e6a6ff..81f2086 100644 --- a/include/functions.zsh +++ b/include/functions.zsh @@ -5,12 +5,6 @@ f() { find . | grep "$1"; } -# wrapper around cd for easier navigation + always show files in dir -# cd() { -# z $1 -# la -# } - # smart remove rem() { if [ ! -d "$HOME/.trash" ]; then mkdir "$HOME/.trash"; fi @@ -27,3 +21,8 @@ rem() { fi done } + +# git add and commit one file +git_ac() { + git add "$1" && git commit -m "$2" +} -- 2.45.2