Merge pull request #1132 from Phuurl/master

Adds scoop package manager support
This commit is contained in:
Dylan Araps 2019-01-04 20:51:17 +02:00 committed by GitHub
commit c8a32768b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1341,6 +1341,9 @@ get_packages() {
"MSYS"*) has "pacman" && tot pacman -Qq --color never ;;
esac
# Scoop environment throws errors if `tot scoop list` is used
has "scoop" && dir ~/scoop/apps/* && ((packages-=1))
# Count chocolatey packages.
[[ -d "/cygdrive/c/ProgramData/chocolatey/lib" ]] && \
dir /cygdrive/c/ProgramData/chocolatey/lib/*