diff --git a/zshrc b/zshrc index 1acb2fe..9e0a4b1 100644 --- a/zshrc +++ b/zshrc @@ -3,6 +3,14 @@ # # PS1='\e[31m[\u\e[0m@\h \W]\$ ' +# Reset pacman keys +function pacman-key-reset +{ + /usr/bin/bash -c "rm -r /etc/pacman.d/gnupg/* -f" + pacman-key --init + pacman-key --populate +} + # iwd connection status function iwd-status {