about summary refs log tree commit diff
path: root/fish
diff options
context:
space:
mode:
authorBen Harris <ben@tilde.team>2021-10-10 16:23:34 -0400
committerBen Harris <ben@tilde.team>2021-10-10 16:23:34 -0400
commitfead404111c3b78a21d9c5fb9ac631eaee244e88 (patch)
tree0454f28797781671b54677fc4b816ba6980d2810 /fish
parent8408a064694a5ef58e8b75ae2b4f489a905ea51d (diff)
update fish functions
Diffstat (limited to 'fish')
-rw-r--r--fish/.config/fish/functions/gall.fish5
-rw-r--r--fish/.config/fish/functions/tht.fish8
2 files changed, 5 insertions, 8 deletions
diff --git a/fish/.config/fish/functions/gall.fish b/fish/.config/fish/functions/gall.fish
new file mode 100644
index 0000000..cb0418d
--- /dev/null
+++ b/fish/.config/fish/functions/gall.fish
@@ -0,0 +1,5 @@
+# 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/fish/.config/fish/functions/tht.fish b/fish/.config/fish/functions/tht.fish
deleted file mode 100644
index 177a066..0000000
--- a/fish/.config/fish/functions/tht.fish
+++ /dev/null
@@ -1,8 +0,0 @@
-# Defined in /tmp/fish.aHcCMP/tht.fish @ line 2
-function tht
-	if test -f ~/.tht/bin/tht.php
-        php ~/.tht/bin/tht.php $argv
-    else
-        echo tht not installed
-    end
-end