diff --git a/modules/script-nu/script-nu.sh b/modules/script-nu/script-nu.sh index 59fd211..a054aa0 100644 --- a/modules/script-nu/script-nu.sh +++ b/modules/script-nu/script-nu.sh @@ -4,7 +4,7 @@ def "main" [ yaml_file: string ] { chmod +x $"($env.PWD)/scripts/*" - (open $yaml_file).scripts | each { + ($yaml_file | from yaml).scripts | each { | script | { run-external $script } } }