From 9feb138b392c13fa0d460bb69b42de975eabec50 Mon Sep 17 00:00:00 2001 From: Rezart Qelibari Date: Fri, 4 Feb 2022 14:28:43 +0100 Subject: [PATCH] Add modules automatically to allModules --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 14bf0d1..eaa189e 100755 --- a/install.sh +++ b/install.sh @@ -170,7 +170,7 @@ function main() { Copyright (C) 2022 Rezart Qelibari, Astzweig GmbH & Co. KG License EUPL-1.2. There is NO WARRANTY, to the extent permitted by law. USAGE`" - local allModules=() + local allModules=("${(f)$(find ./modules -type f -perm +u=x -maxdepth 1 2> /dev/null | awk -F/ '{print $NF }' | sort -n)}") local modulesToInstall=(`getFilteredModules`) ensureDocopts autoloadZShLib