mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 14:43:55 +08:00
source the files instead
This *might* be a bit faster running under TSAN, otherwise it takes > 400 seconds on Github Actions. If this doesn't work we need to disable it for TSAN.
This commit is contained in:
parent
10785ba814
commit
02ee112308
|
@ -4,7 +4,7 @@
|
|||
# No output is good output
|
||||
for f in $__fish_data_dir/completions/*.fish
|
||||
if type -q (string replace -r '.*/([^/]+).fish' '$1' $f)
|
||||
set -l out ($fish $f 2>&1 | string collect)
|
||||
set -l out (source $f 2>&1 | string collect)
|
||||
test -n "$out"
|
||||
and echo -- OUTPUT from $f: $out
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user