Welcome to C! Tiny suggestion to add to other comments: value
is already Boolean, so there's no need to write if (value == 1)
, you can just write if (value)
. Similarly, following @chamaeleon@kbin.social's suggestion of using the ternary operator, you can write return value ? "Yes" : "No";
.
lawmurray
joined 1 year ago
You might want to confirm that it is indeed zypper packages before you rearrange too much: Disk Usage Analysis on the desktop, or
du -sch *
on the console will get you some numbers by directory. It could also be cached packages, clean them up withzypper clean --all
.I'm not sure about specifying different destination directories with zypper, but you could try installing something like vscode from Flatpak rather than zypper, and specifying
--user
so it goes into your home directory (if that's a different partition).I'd also look at your containers with podman and clean up any old ones, they can take up a lot of space.