about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBen Harris <ben@tilde.team>2022-02-17 16:42:31 -0500
committerBen Harris <ben@tilde.team>2022-02-17 16:42:31 -0500
commitb861a2a48265818db5b1aa850b6361f2e6305ebe (patch)
tree5aabb34ca3a56176534f9d77caabcf55263a47a2
parentc65852cdf478a3cfe05b2689a6811b33dcc7edcc (diff)
change gall to a sh script
-rwxr-xr-xbin/bin/gall11
-rw-r--r--fish/.config/fish/functions/gall.fish5
-rw-r--r--git/.gitconfig6
m---------vim/.vim/bundle/vim-fugitive0
4 files changed, 17 insertions, 5 deletions
diff --git a/bin/bin/gall b/bin/bin/gall
new file mode 100755
index 0000000..4bad928
--- /dev/null
+++ b/bin/bin/gall
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+repos=$(find ~/workspace -type d -name .git)
+
+for repo in $repos; do
+    dir=$(dirname "$repo")
+    printf "%s\n" "$(basename "$dir")"
+    git -C "$dir" "$@"
+    printf "\n"
+done
+
diff --git a/fish/.config/fish/functions/gall.fish b/fish/.config/fish/functions/gall.fish
deleted file mode 100644
index cb0418d..0000000
--- a/fish/.config/fish/functions/gall.fish
+++ /dev/null
@@ -1,5 +0,0 @@
-# Defined in /tmp/fish.sXa0jy/gall.fish @ line 2
-function gall
-  find ~/workspace -type d -name .git -print0 \
-  | xargs -0 -n1 -I% git --git-dir=% --work-tree=%/.. $argv
-end
diff --git a/git/.gitconfig b/git/.gitconfig
index 822788b..becf13d 100644
--- a/git/.gitconfig
+++ b/git/.gitconfig
@@ -13,6 +13,12 @@
 [pull]
 	ff = only
 
+[pager]
+    diff = diff-highlight | less
+    log = diff-highlight | less
+    reflog = diff-highlight | less
+    show = diff-highlight | less
+
 [diff]
     colorMoved = default
 
diff --git a/vim/.vim/bundle/vim-fugitive b/vim/.vim/bundle/vim-fugitive
-Subproject 6c19f1ddfb74b3b21f3d1e830bee1d1ed6a72ec
+Subproject c29ef11cd6478da675678265e76f9e527843876