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
1 changed files with 3 additions and 0 deletions

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/*