mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-24 16:59:19 +08:00
Ported function to zsh
This commit is contained in:
parent
9e53decf64
commit
1df49b6fcd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user