Skip to content

Commit 3f572e2

Browse files
committed
added alias to fix gnupg and keyring isuue
1 parent 15e5005 commit 3f572e2

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

airootfs/etc/skel/.zshrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ alias unlock="sudo rm /var/lib/pacman/db.lck"
3939
alias remove="sudo pacman -R"
4040
alias autoremove="sudo pacman -Rns"
4141

42+
# Fix keyring and gnupg mount isuue
43+
alias fix-keys = "sudo rm -rvf /etc/pacman.d/gnupg && sudo pacman-key --init && sudo pacman-key --populate"
44+
4245
# keyboard ctrl+arrow key issue solved
4346
#bindkey '^[[1;5C' forward-word # Ctrl+Right arrow
4447
#bindkey '^[[1;5D' backward-word # Ctrl+Left arrow

airootfs/root/.zshrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ alias unlock="sudo rm /var/lib/pacman/db.lck"
3939
alias remove="sudo pacman -R"
4040
alias autoremove="sudo pacman -Rns"
4141

42+
# Fix keyring and gnupg mount isuue
43+
alias fix-keys = "sudo rm -rvf /etc/pacman.d/gnupg && sudo pacman-key --init && sudo pacman-key --populate"
44+
4245
# keyboard ctrl+arrow key issue solved
4346
#bindkey '^[[1;5C' forward-word # Ctrl+Right arrow
4447
#bindkey '^[[1;5D' backward-word # Ctrl+Left arrow

0 commit comments

Comments
 (0)