From 8ae129e22a0e374cd3c29e0c77d43572259e3c7f Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 6 Feb 2024 02:53:54 +0000 Subject: Amended how gitrepos alias works --- fish2024/functions/gitrepos.fish | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'fish2024/functions') 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 -- cgit v1.2.3