After digging into the manual and considering the nuclear nature of a blind -Rns in my first version, I’ve settled on this TUI style one-liner.
`pacman -Qetq | fzf -m --header "Select packages to REMOVE" --preview 'pacman -Qi {}' --preview-window=right:60% | xargs -ro sudo pacman -Rns`
I added this into my zsh plugin and tested it. It works, at least on my laptop. Now can bring the TUI prompt with a hotkey whenever I need to.
#archlinux #zsh #fzf #opensource #AwesomePlugins #github
