mirror of https://github.com/jorgebucaran/fisher
Fix a bug in the dependency installer counter.
parent
d4c8e2789f
commit
2b43beb324
@ -1,7 +1,7 @@
|
||||
function __fisher_deps_install -a path
|
||||
for file in $path/{fishfile,bundle}
|
||||
if test -s $file
|
||||
fisher_install < $file | sed -En 's/^.+([0-9]+) plugin\/s.*/\1/p'
|
||||
fisher_install < $file | sed -En 's|^([0-9]+) plugin/s installed.*|\1|p'
|
||||
end
|
||||
end | awk '{ n = n + $0 } END { print n ? n : 0 }'
|
||||
end
|
||||
|
Loading…
Reference in New Issue