mirror of
https://github.com/jorgebucaran/fisher
synced 2024-11-09 07:10:27 +00:00
9 lines
305 B
Fish
9 lines
305 B
Fish
function __fisher_deps_install -a path
|
|
for file in $path/{fishfile,bundle}
|
|
if test -s $file
|
|
debug "Install dependencies %s" "$file"
|
|
fisher_install < $file | sed -En 's/^.+([0-9]+) plugin\/s.*/\1/p'
|
|
end
|
|
end | awk '{ n = n + $0 } END { print n ? n : 0 }'
|
|
end
|