mirror of
https://github.com/ivabus/dotfiles
synced 2024-11-10 02:05:16 +03:00
tools/git.sh: fix gpg program
This commit is contained in:
parent
c6c91e55dc
commit
b817cc7b33
|
@ -9,7 +9,7 @@ read -p "Configure GPG signing for git? (y/N): " answer
|
||||||
|
|
||||||
if [[ $answer = [Yy] ]]; then
|
if [[ $answer = [Yy] ]]; then
|
||||||
git config --global commit.gpgsign true
|
git config --global commit.gpgsign true
|
||||||
git config --global gpg.program gpg2
|
git config --global gpg.program gpg
|
||||||
read -p "Enter your GPG key ID: " GPGKEYID
|
read -p "Enter your GPG key ID: " GPGKEYID
|
||||||
git config --global user.signingkey "${GPGKEYID}"
|
git config --global user.signingkey "${GPGKEYID}"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue