Compare commits

..

No commits in common. "4497e4e3b119e188c7567a38ee8e401f2834a7c6" and "9da5e26220c1c6a315f1e230309aafb332b090db" have entirely different histories.

2 changed files with 10 additions and 13 deletions

View File

@ -1,13 +1,10 @@
if command -v gpgconf >/dev/null gpgconf --launch gpg-agent
export SSH_AUTH_SOCK="$HOME/.gnupg/S.gpg-agent.ssh"
TSOCK=$(gpgconf --list-dirs agent-ssh-socket || true)
if [[ -n "$TSOCK" ]]
then then
gpgconf --launch gpg-agent export SSH_AUTH_SOCK="$TSOCK"
unset TSOCK
export SSH_AUTH_SOCK="$HOME/.gnupg/S.gpg-agent.ssh"
TSOCK=$(gpgconf --list-dirs agent-ssh-socket || true)
if [[ -n "$TSOCK" ]]
then
export SSH_AUTH_SOCK="$TSOCK"
unset TSOCK
fi
fi fi

View File

@ -44,10 +44,10 @@ DCFILE="$HOME/.dircolors"
# a system which has the GNU coreutils installed # a system which has the GNU coreutils installed
if [[ -f $DCFILE ]] && [[ -s $DCFILE ]] if [[ -f $DCFILE ]] && [[ -s $DCFILE ]]
then then
if command -v dircolors >/dev/null if [[ ! -z `which dircolors` ]]
then then
eval `dircolors $DCFILE` eval `dircolors $DCFILE`
elif command -v gdircolors >/dev/null elif [[ ! -z `which gdircolors` ]]
then then
# OS X with coreutils installed from MacPorts will have # OS X with coreutils installed from MacPorts will have
# dircolors installed by default as gdircolors. # dircolors installed by default as gdircolors.