leahneukirchen / xtools

a few helpers for working with XBPS
132 stars 59 forks source link

Tool to remove packages #214

Open 0x5c opened 3 years ago

0x5c commented 3 years ago

There's xi to install, xrs to search packages, xq to get package info, and it would be great to have one for package removal.

Structurally, what's needed seems close to xi; some wrapping and automatic sudo.

Vaelatern commented 3 years ago

xbps-remove seems pretty simple. What else would be added?

0x5c commented 3 years ago

It seems that taking the cwd repo into account would not be needed, unlike xi, so it would simply be a convenient short name with automatic sudo.
I suggest xrm for the name.

If this would be a welcome addition to xtools, I could make a PR for it.

triallax commented 1 year ago

Given that it would merely be an alias for sudo xbps-remove, I suggest you add it in your shell configuration (which is what I do) instead of creating a script for it here.