From 6cbe68127718827e4ade8431b690ec9111ea756c Mon Sep 17 00:00:00 2001 From: myve Date: Sat, 25 Jan 2025 02:15:55 +0000 Subject: [PATCH] Update zshrc --- zshrc | 8 ++++++++ 1 file changed, 8 insertions(+) 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 {