From: Huck Boles Date: Sun, 28 May 2023 14:58:05 +0000 (-0500) Subject: removed: function for zoxide X-Git-Url: https://git.huck.website/?a=commitdiff_plain;h=a08bbc589baa2bba6f15765b33ec416a83f6a1a5;p=zsh.git removed: function for zoxide --- 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" +}