mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 14:03:58 +00:00
43459d1750
Now we can explain which file printed the error
11 lines
348 B
Fish
11 lines
348 B
Fish
#RUN: %fish -C 'set -l fish %fish' %s
|
|
# Test all completions where the command exists
|
|
|
|
# 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)
|
|
test -n "$out"
|
|
and echo -- OUTPUT from $f: $out
|
|
end
|
|
end
|