From 70e3d77b19b238b08aecd69af9c807d38e685c90 Mon Sep 17 00:00:00 2001 From: alemi Date: Thu, 8 Feb 2024 17:57:37 +0100 Subject: [PATCH] fix: very jank use of tree --- ls | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/ls b/ls index c113092..170d5d0 100755 --- a/ls +++ b/ls @@ -1,10 +1,12 @@ #!/bin/bash +tree /srv/git -I "hooks|objects|info|branches|refs|HEAD|description|config|cgitrc|FETCH_HEAD|packed-refs" + # ls /srv/git -I 'git-shell-commands' # one above misses repos like '.dotfiles', let's do it by hand -for f in $(ls /srv/git -a); do - if [[ $f == *.git ]]; then - echo $f - fi -done +# for f in $(ls /srv/git -a); do +# if [[ $f == *.git ]]; then +# echo $f +# fi +# done