Skip to content

Commit

Permalink
feat: gpg tty
Browse files Browse the repository at this point in the history
  • Loading branch information
RayGuo-ergou committed Jan 13, 2025
1 parent 1901096 commit 4d19ed4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions git/config
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[user]
email = [email protected]
name = Ray Guo
signingkey = 365CF77573ECD9D02A8AD6546AA1EBBC9FB4F949

[core]
editor = nvim
Expand All @@ -23,3 +24,7 @@

[diff]
colorMoved = default
[commit]
gpgsign = true
[gpg]
program = gpg
3 changes: 3 additions & 0 deletions zsh/exports.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,6 @@ export XDG_RUNTIME_DIR=~/.xdg_runtime

# Add zsh-completions
fpath=($HOME/.zsh-complete $fpath)

# gpg see https://stackoverflow.com/a/42265848
export GPG_TTY=$(tty)

0 comments on commit 4d19ed4

Please sign in to comment.