declare -x SSH_AUTH_SOCK SSH_AGENT_PID if [ -n "$SSHENVFILE" ] && [ -r "$SSHENVFILE" ];then if source "$SSHENVFILE"; then if echo "${SSHAGH[@]}"|tr ' ' '\n'|grep -P "^$(hostname -f)$" > /dev/null;then add-sshagent-init fi fi fi for gitpsrc in "/usr/share/git/git-prompt.sh" "/usr/local/share/git/git-prompt.sh" \ "/usr/share/git-completion/prompt.sh" "/usr/local/share/git-completion/prompt.sh"; do if [ -r "$gitpsrc" ]; then source "$gitpsrc" break fi done