diff --git a/.bash_profile b/.bash_profile index 4ac5e9e..3f1a6a8 100644 --- a/.bash_profile +++ b/.bash_profile @@ -3,6 +3,9 @@ if [ -f ~/.bashrc ]; then . ~/.bashrc fi +# Export GPG_TTY for signing stuff with gpg +export GPG_TTY=$(tty) + # Create pathref envars to my frameworks export VV="/var/www/fw/vegvisir/" export REFL="/var/www/fw/reflect/" diff --git a/.gitconfig b/.gitconfig index 431480d..0f65872 100644 --- a/.gitconfig +++ b/.gitconfig @@ -1,6 +1,8 @@ [user] email = victor@vlw.se name = Victor Westerlund + signingkey = DCE987311CB5D2A252F58951D0AD730E1057DFC6 + signkey = 1057DFC6 [core] fileMode = false excludesfile = ~/.config/git/.gitignore @@ -13,3 +15,5 @@ contenttype = 0 [help] autocorrect = prompt +[commit] + gpgsign = true