diff options
author | Alan Pearce | 2015-06-23 16:19:24 +0200 |
---|---|---|
committer | Alan Pearce | 2015-06-23 16:19:24 +0200 |
commit | fb9985390e05c26d9e456b75d7b9996663101a2f (patch) | |
tree | 4b4805eddc2871c118f1a9edab1e3549a0c77ce4 /tag-zsh/config/zsh | |
parent | a0a5bbc8783e4895b7afc60d141ff8e2644cd612 (diff) | |
download | dotfiles-fb9985390e05c26d9e456b75d7b9996663101a2f.tar.lz dotfiles-fb9985390e05c26d9e456b75d7b9996663101a2f.tar.zst dotfiles-fb9985390e05c26d9e456b75d7b9996663101a2f.zip |
Don’t try to run gpg-agent on OSX
GPGTools handles this for us, without a warning
Diffstat (limited to 'tag-zsh/config/zsh')
-rwxr-xr-x | tag-zsh/config/zsh/zshenv | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tag-zsh/config/zsh/zshenv b/tag-zsh/config/zsh/zshenv index 1558855..c48707a 100755 --- a/tag-zsh/config/zsh/zshenv +++ b/tag-zsh/config/zsh/zshenv @@ -66,7 +66,7 @@ then eval "$(direnv hook zsh)" fi -if [[ -s $commands[gpg-agent] ]] +if [[ -s $commands[gpg-agent] && $os != "osx" ]] then envfile="$HOME/.gnupg/gpg-agent.env" if [[ -e "$envfile" ]] && kill -0 $(grep GPG_AGENT_INFO "$envfile" | cut -d: -f 2) 2>/dev/null; then |