oh-my-fish/plugins/archlinux/pacman/pacmanallkeys.fish

4 lines
261 B
Fish
Raw Normal View History

2014-02-26 22:39:15 +00:00
function pacmanallkeys -d "Get all keys for developers and trusted users"
2014-02-28 19:13:59 +00:00
curl https://www.archlinux.org/developers/ https://www.archlinux.org/trustedusers/ | awk -F\" '(/pgp.mit.edu/) {sub(/.*search=0x/,"");print $1}' | xargs sudo pacman-key --recv-keys
end