From 5c1487694f6941f1ee6c268f52ccd07996ff11b4 Mon Sep 17 00:00:00 2001 From: William Brawner Date: Mon, 30 Dec 2019 14:27:36 -0600 Subject: [PATCH] Fix ls command not including path Signed-off-by: William Brawner --- ls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ls b/ls index 6c91008..a33f91a 100755 --- a/ls +++ b/ls @@ -2,5 +2,5 @@ source "$(dirname "$0")/pre-script" -for repo in $(/usr/bin/find -maxdepth 2 -type d -name "*.git"); do /usr/bin/basename $repo .git; done | sort +for repo in $(/usr/bin/find -maxdepth 2 -type d -name "*.git"); do echo $repo | cut -c3- | rev | cut -c5- | rev; done | sort