]> git.huck.website - zsh.git/commitdiff
removed: function for zoxide
authorHuck Boles <huck@huck.website>
Sun, 28 May 2023 14:58:05 +0000 (09:58 -0500)
committerHuck Boles <huck@huck.website>
Sun, 28 May 2023 14:58:05 +0000 (09:58 -0500)
include/functions.zsh

index 5e6a6ffb2711eb42fb793bc8836f64357e42304c..81f20863718632614ca46b899615b00d6ee97f1e 100644 (file)
@@ -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"
+}