summaryrefslogtreecommitdiff
path: root/zshrc
diff options
context:
space:
mode:
authorXian Wang <dev@xianwang.io>2021-02-13 17:36:11 -0800
committerXian Wang <dev@xianwang.io>2021-02-13 17:36:11 -0800
commit768297bad768b82a1c88a27684ee7ad71dd4f4de (patch)
tree2d9772f57f966fdfe78d19f57ba08a3ab37bfc86 /zshrc
parent4e7c7829e9ea9cba44108c3ea5dae5fe0d02b686 (diff)
downloaddotfiles-768297bad768b82a1c88a27684ee7ad71dd4f4de.tar.gz
dotfiles-768297bad768b82a1c88a27684ee7ad71dd4f4de.tar.bz2
dotfiles-768297bad768b82a1c88a27684ee7ad71dd4f4de.zip
fix bug in gpgconf and zshrc
Diffstat (limited to 'zshrc')
-rw-r--r--zshrc5
1 files changed, 4 insertions, 1 deletions
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