From 768297bad768b82a1c88a27684ee7ad71dd4f4de Mon Sep 17 00:00:00 2001 From: Xian Wang Date: Sat, 13 Feb 2021 17:36:11 -0800 Subject: fix bug in gpgconf and zshrc --- zshrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'zshrc') 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 -- cgit v1.2.3