Suppress top-level files install warning (#666)

This commit is contained in:
Jorge Bucaran 2021-03-12 03:15:17 +09:00
parent b222175fc8
commit e7a538239b
No known key found for this signature in database
GPG key ID: E54BA3C0E646DB30

View file

@ -95,10 +95,7 @@ function fisher --argument-names cmd --description "A plugin manager for Fish"
command rm -rf \$temp
end
set files $source/* && string match --quiet --regex -- .+\.fish\\\$ \$files || exit
echo \"fisher: Plugin not supported: \\\"$plugin\\\"\" >&2
echo (set_color --bold red)\"Support for .fish files outside a functions directory is deprecated\" (set_color --underline)https://github.com/jorgebucaran/fisher/issues/651(set_color normal) >&2
set files $source/* && string match --quiet --regex -- .+\.fish\\\$ \$files
" &
set --append pid_list (jobs --last --pid)