diff --git a/dot_gitconfig.tmpl b/dot_gitconfig.tmpl index 01e9a1e9..63e6db26 100644 --- a/dot_gitconfig.tmpl +++ b/dot_gitconfig.tmpl @@ -1,6 +1,7 @@ [user] name = {{ .name }} email = {{ .email }} + signingkey = 5BD49ECCC1C37DFE [core] autocrlf = input safecrlf = false diff --git a/dot_profile.tmpl b/dot_profile.tmpl index 770c8dc0..70249bcc 100644 --- a/dot_profile.tmpl +++ b/dot_profile.tmpl @@ -68,3 +68,5 @@ fi export VISUAL="{{ .editor }}" export EDITOR="{{ .editor }}" + +export GPG_TTY=$(tty) diff --git a/dot_zshrc b/dot_zshrc index 0853704a..df9e36cb 100644 --- a/dot_zshrc +++ b/dot_zshrc @@ -12,6 +12,8 @@ if [ -f "$HOME/.profile" ]; then source "$HOME/.profile" fi +export GPG_TTY=$(tty) + # Load bash aliases if [ -f "$HOME/.bash_aliases" ]; then source "$HOME/.bash_aliases"