aboutsummaryrefslogtreecommitdiffstats
path: root/fish2024/functions
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-02-06 02:53:54 +0000
committerMatthew Lemon <y@yulqen.org>2024-02-06 02:53:54 +0000
commit8ae129e22a0e374cd3c29e0c77d43572259e3c7f (patch)
tree29099fcd828c703f746231609f94720d86dd108f /fish2024/functions
parent2010f94f046803ed1bc7765eb10b95d7774dd947 (diff)
Amended how gitrepos alias works
Diffstat (limited to 'fish2024/functions')
-rw-r--r--fish2024/functions/gitrepos.fish5
1 files changed, 3 insertions, 2 deletions
diff --git a/fish2024/functions/gitrepos.fish b/fish2024/functions/gitrepos.fish
index ef940cd..bf009a4 100644
--- a/fish2024/functions/gitrepos.fish
+++ b/fish2024/functions/gitrepos.fish
@@ -1,4 +1,5 @@
-function gitrepos --wraps='ssh git@joannalemon.com "tree -L 2 repositories"' --description 'alias gitrepos=ssh git@joannalemon.com "tree -L 2 repositories"'
- ssh git@joannalemon.com "tree -L 2 repositories" $argv
+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