mirror of
https://github.com/jorgebucaran/fisher
synced 2024-10-09 09:36:53 +02:00
Fix a bug in the dependency installer counter.
This commit is contained in:
parent
4d23cf7195
commit
a205256ce8
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -13,7 +13,7 @@ function -S setup
|
|||
set count (math $count + 1)
|
||||
end
|
||||
|
||||
echo "Aye! $count plugin/s installed."
|
||||
echo "$count plugin/s installed."
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue