mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-02-20 02:46:16 +08:00
Ported function to zsh
This commit is contained in:
parent
1df49b6fcd
commit
0622fe860f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user