fix cargo package count

This commit is contained in:
OldWorldOrdr 2023-06-26 14:41:20 -04:00
parent 5ab2f2dcc5
commit 914890b4b0

View file

@ -2054,7 +2054,7 @@ get_packages() {
has flatpak && tot flatpak list
has spm && tot spm list -i
has puyo && dir ~/.puyo/installed
has cargo && dir "${CARGO_HOME:-$HOME/.cargo}/bin/"*
has cargo && _cargopkgs="$(cargo install --list | grep -v '^ ')" && tot echo "$_cargopkgs"
# Snap hangs if the command is run without the daemon running.
# Only run snap if the daemon is also running.