remove sudo alias. better pgrep alias which strips itself from output.
check SSH_AUTH_SOCK initilization and file existence to determine if ssh-agent is needed