From 9481df8a5267f108c9b57691c2709ce533e70660 Mon Sep 17 00:00:00 2001 From: David Adam Date: Mon, 27 Apr 2015 18:02:44 +0800 Subject: [PATCH 1/1] shell: don't close the file descriptor, it doesn't work --- bash_profile.uccpass | 2 +- zprofile.uccpass | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bash_profile.uccpass b/bash_profile.uccpass index 539887a..7d581e8 100644 --- a/bash_profile.uccpass +++ b/bash_profile.uccpass @@ -1,3 +1,3 @@ -if type keychain >-; then +if type keychain >/dev/null; then eval `keychain --clear --quiet --agents gpg --eval` fi diff --git a/zprofile.uccpass b/zprofile.uccpass index 2f0f19b..1de9e1b 100644 --- a/zprofile.uccpass +++ b/zprofile.uccpass @@ -1,3 +1,3 @@ -if type keychain >-; then +if type keychain >/dev/null; then keychain --clear --quiet --agents gpg fi -- 2.20.1