mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 14:03:58 +00:00
7e2cba01fb
Meaning completions where we have the command. No completion should be printing anything when sourced. This could have prevented #8896
9 lines
252 B
Fish
9 lines
252 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 command -q (string replace -r '.*/([^/]+).fish' '$1' $f)
|
|
$fish $f
|
|
end
|
|
end
|