From c93af2776097760ba2ba507e6c8fcaab0c453987 Mon Sep 17 00:00:00 2001 From: Ambrose Chua Date: Sat, 27 Jul 2019 10:28:08 +0800 Subject: [PATCH] Fix some GPG stuff --- .brewfile | 2 +- .gitconfig | 1 + .zshrc | 10 +++++++--- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.brewfile b/.brewfile index 87f547b..c29e8e8 100644 --- a/.brewfile +++ b/.brewfile @@ -136,7 +136,7 @@ cask "kicad" # extra lang brew "sbt" -#cask "android-sdk" +cask "android-sdk" cask "java" #cask "qt-creator" diff --git a/.gitconfig b/.gitconfig index c3aa0cf..02a7fac 100644 --- a/.gitconfig +++ b/.gitconfig @@ -4,5 +4,6 @@ name = Ambrose Chua email = ambrose@chua.family useConfigOnly = true + signingkey = AE677CFF65D984EB1F0DC24CDB3FFE064995FE8D [core] editor = nvim diff --git a/.zshrc b/.zshrc index 518098c..876ed6e 100644 --- a/.zshrc +++ b/.zshrc @@ -76,9 +76,15 @@ export PATH="$HOME/.yarn/bin:$PATH" # aliases alias vim=nvim -# gpg as ssh agent +# gpg +export GPG_TTY="$(tty)" +# gpg ssh agent test -e "$(which gpgconf)" && export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)" +# minio client +autoload -U +X bashcompinit && bashcompinit +complete -o nospace -C /usr/local/bin/mc mc + # iTerm2 integration test -e "$HOME/.iterm2_shell_integration.zsh" && source "$HOME/.iterm2_shell_integration.zsh" @@ -131,5 +137,3 @@ if [[ "$(uname -s)" == "Darwin" ]]; then fi -autoload -U +X bashcompinit && bashcompinit -complete -o nospace -C /usr/local/bin/mc mc