git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/.bash/postexec.bash
blob: 564356a283739a24096820609b70274f951899e4 (plain)
1
2
3
4
5
6
7
8
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