Ported function to zsh

This commit is contained in:
Steven Knight 2014-02-26 17:39:28 -05:00
parent 1df49b6fcd
commit 0622fe860f

View File

@ -1,9 +1,8 @@
# TODO: Need to convert to fish function pacmansignkeys -d "Allow user to sign keys"
function pacmansignkeys for key in $argv;
# for key in $*; do sudo pacman-key --recv-keys $key
# sudo pacman-key --recv-keys $key sudo pacman-key --lsign-key $key
# sudo pacman-key --lsign-key $key printf 'trust\n3\n' | sudo gpg --homedir /etc/pacman.d/gnupg \
# printf 'trust\n3\n' | sudo gpg --homedir /etc/pacman.d/gnupg \ --no-permission-warning --command-fd 0 --edit-key $key
# --no-permission-warning --command-fd 0 --edit-key $key end
# done
end end