Ported function to zsh

This commit is contained in:
Steven Knight 2014-02-26 17:39:15 -05:00
parent 9e53decf64
commit 1df49b6fcd

View File

@ -1,7 +1,3 @@
# TODO: Need to convert to fish
function pacmanallkeys
# Get all keys for developers and trusted users
#curl https://www.archlinux.org/{developers,trustedusers}/ |
#awk -F\" '(/pgp.mit.edu/) {sub(/.*search=0x/,"");print $1}' |
#xargs sudo pacman-key --recv-keys
function pacmanallkeys -d "Get all keys for developers and trusted users"
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