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

4 lines
261 B
Fish
Raw Normal View History

2014-02-27 06:39:15 +08:00
function pacmanallkeys -d "Get all keys for developers and trusted users"
2014-03-01 03:13:59 +08: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