mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-10 07:32:00 +08:00
13 lines
290 B
Fish
13 lines
290 B
Fish
set -l compdir (status dirname)/../../share/completions
|
|
cd $compdir
|
|
for file in *.fish
|
|
set -l bname (string replace -r '.fish$' '' -- $file)
|
|
if type -q $bname
|
|
source $file >/dev/null
|
|
if test $status -gt 0
|
|
echo FAILING FILE $file
|
|
end
|
|
end
|
|
|
|
end
|