summaryrefslogtreecommitdiffstats
path: root/fish2024/functions/gitrepos.fish
diff options
context:
space:
mode:
Diffstat (limited to 'fish2024/functions/gitrepos.fish')
-rw-r--r--fish2024/functions/gitrepos.fish5
1 files changed, 5 insertions, 0 deletions
diff --git a/fish2024/functions/gitrepos.fish b/fish2024/functions/gitrepos.fish
new file mode 100644
index 0000000..bf009a4
--- /dev/null
+++ b/fish2024/functions/gitrepos.fish
@@ -0,0 +1,5 @@
+function gitrepos --wraps='ssh git@joannalemon.com "tree -L 2 repositories"' --wraps='ssh git@joannalemon.com "find repositories/ -maxdepth 2 -type d|cut -d/ -f2-"' --description 'alias gitrepos=ssh git@joannalemon.com "find repositories/ -maxdepth 2 -type d|cut -d/ -f2-"'
+ # ssh git@joannalemon.com "tree -L 2 repositories" $argv
+ ssh git@joannalemon.com "find repositories/ -maxdepth 2 -type d|cut -d/ -f2-"
+
+end