Skip to content

Commit 18e98de

Browse files
authored
fix(script-v2): Revert #528
1 parent 5c19c82 commit 18e98de

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

modules/script/v2/script.nu

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ def main [config: string]: nothing -> nothing {
77
| default [] snippets
88

99
cd $'($env.CONFIG_DIRECTORY)/scripts'
10-
ls
11-
| where { ($in | path type) == 'file' }
12-
| each { chmod +x $in }
10+
^find . -type f -execdir chmod +x '{}' +
1311

1412
$config.scripts
1513
| each {|script|

0 commit comments

Comments
 (0)