summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gpg-agent.conf3
-rw-r--r--install.conf.yaml4
-rw-r--r--zshrc5
3 files changed, 9 insertions, 3 deletions
diff --git a/gpg-agent.conf b/gpg-agent.conf
index 40fb8ac..646d2d4 100644
--- a/gpg-agent.conf
+++ b/gpg-agent.conf
@@ -6,5 +6,6 @@ max-cache-ttl 120
#pinentry-program /usr/bin/pinentry-curses
#pinentry-program /usr/bin/pinentry-tty
#pinentry-program /usr/bin/pinentry-x11
-pinentry-program /usr/local/bin/pinentry-curses
+#pinentry-program /usr/local/bin/pinentry-curses
#pinentry-program /usr/local/bin/pinentry-mac
+pinentry-program /usr/bin/pinentry
diff --git a/install.conf.yaml b/install.conf.yaml
index c0b53f0..95f8d4e 100644
--- a/install.conf.yaml
+++ b/install.conf.yaml
@@ -22,7 +22,9 @@
~/.oh-my-zsh/custom/func.zsh:
path: omz/custom/func.zsh
create: true
- ~/.gnupg/gpg-agent.conf: gpg-agent.conf
+ ~/.gnupg/gpg-agent.conf:
+ path: gpg-agent.conf
+ create: true
- shell:
- [git submodule update --init --recursive, Installing submodules]
diff --git a/zshrc b/zshrc
index cdb48d2..aff2356 100644
--- a/zshrc
+++ b/zshrc
@@ -2,7 +2,7 @@
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
-export ZSH="/Users/xianwang/.oh-my-zsh"
+export ZSH="$HOME/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
@@ -91,6 +91,9 @@ source $ZSH/oh-my-zsh.sh
ZSH_COMPDUMP=~/.cache/.zcompdump
+export PATH="$HOME/bin:$PATH"
+export PATH="$HOME/.local/bin:$PATH"
+
export GPG_TTY="$(tty)"
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpgconf --kill gpg-agent