Open 0x5c opened 3 years ago
xbps-remove
seems pretty simple. What else would be added?
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.
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.
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.