Skip to content

Commit 6851f87

Browse files
authored
Create ~/.gnupg directory if it does not exist
1 parent fe12d50 commit 6851f87

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

practices/guides/commit-signing.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
echo export GPG_TTY=\$\(tty\) >> ~/.zshrc
2323
source ~/.zshrc
2424
PINENTRY_BIN=$(whereis -q pinentry-mac)
25+
mkdir -p ~/.gnupg
2526
touch ~/.gnupg/gpg-agent.conf
2627
sed -i '' '/^pinentry-program/d' ~/.gnupg/gpg-agent.conf
2728
echo "pinentry-program ${PINENTRY_BIN}" >> ~/.gnupg/gpg-agent.conf

0 commit comments

Comments
 (0)