Merge branch 'master' of github.com:dylanaraps/neofetch

This commit is contained in:
Dylan Araps 2019-01-04 21:22:48 +02:00
commit 6c966b05ae

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