diff options
Diffstat (limited to 'fish2024/functions/gitrepos.fish')
-rw-r--r-- | fish2024/functions/gitrepos.fish | 5 |
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 |