Last active
April 7, 2020 20:40
-
-
Save salkin-mada/e1b06faf8617407fb7c2a4e06769a67c to your computer and use it in GitHub Desktop.
fzf multi selection browser pacman handling
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias browse="pacman -Sl | fzf --preview 'pacman -Si {2}' -e -m --reverse --margin 5,8% \ | |
--pointer='O' --prompt='>>>' --marker='<>'\ | |
--preview-window=right:60% \ | |
--color='bg:#211a1d,bg+:#211a1d,info:#8b81ff,border:#8b81ff,spinner:#B8C2B8' \ | |
--color='hl:#a50000,fg:#a50000,fg+:#ed6331' \ | |
--color='pointer:#f8f0fb,prompt:#8b81ff,hl+:#8b81ff,marker:#f8f0fb' \ | |
--color='preview-bg:#211a1d,preview-fg:#ed6331' \ | |
| awk '{print \$2}' | xargs -ro sudo pacman -S" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment