Adds scoop package manager support

This commit is contained in:
Phuurl 2018-12-06 22:58:29 +00:00
parent ed0b0a9746
commit acdd6828f8
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 ;; "MSYS"*) has "pacman" && tot pacman -Qq --color never ;;
esac esac
# Scoop environment throws errors if `tot scoop list` is used
has "scoop" && dir ~/scoop/apps/* && ((packages-=1))
# Count chocolatey packages. # Count chocolatey packages.
[[ -d "/cygdrive/c/ProgramData/chocolatey/lib" ]] && \ [[ -d "/cygdrive/c/ProgramData/chocolatey/lib" ]] && \
dir /cygdrive/c/ProgramData/chocolatey/lib/* dir /cygdrive/c/ProgramData/chocolatey/lib/*