mirror of https://github.com/jorgebucaran/fisher
Display deps as they install along with parent plugin.
parent
b575a06ee0
commit
0758a42cb6
@ -1,13 +1,7 @@
|
||||
function __fisher_deps_install -a path
|
||||
printf 0
|
||||
|
||||
if test -s $path/bundle -o -s $path/fishfile
|
||||
printf "Installing dependencies >> (%s)\n" (
|
||||
for file in $path/{bundle,fishfile}
|
||||
__fisher_list $file
|
||||
end | paste -sd ' ' -
|
||||
) > /dev/stderr
|
||||
|
||||
cat $path/{bundle,fishfile} | fisher_install ^| sed -En 's/([0-9]+) plugin\/s.*/\1/p'
|
||||
end
|
||||
for file in $path/{fishfile,bundle}
|
||||
if test -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
|
||||
|
Loading…
Reference in New Issue