summaryrefslogtreecommitdiffstats
path: root/fish2024/functions/gitrepos.fish
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-02-15 10:21:33 +0000
committerMatthew Lemon <y@yulqen.org>2024-02-15 10:21:33 +0000
commit8debc9ec9caed3bad157a258583f20cafaaa8ac7 (patch)
treec71421d9c0acfc280561f7f2e966b9eff1963a3f /fish2024/functions/gitrepos.fish
parent876d253f48fffdd89b984940abf79d4146d2d3f5 (diff)
Adds fish 2024 version config
Diffstat (limited to '')
-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