According to scoop help cleanup should remove old versions of all the apps but when i ran scoop cleanup . after updating few apps, it removed all the versions of all apps including itself.
Is this a bug or is the scoop help misleading?
You should use * to clean all outdated apps instead of .. But it's a good catch, perhaps the logic of cleanup command needs to be improved.
@h404bi It's same for uninstall. If you uninstall package starting with _/. all apps will be uninstalled (#2370)
I guess then it should either not allow _/. or escape them as it seems they are interfering with the regex system used.
Most helpful comment
@h404bi It's same for uninstall. If you uninstall package starting with
_/.all apps will be uninstalled (#2370)