#!/bin/bash if [[ "$(ssh-add -l | grep -i joshs_key)" == "" ]]; then ssh-add $HOME/.ssh/joshs_key