# If current pwd is scripts, go 1 up. if [ ${PWD##*/} == "scripts" ]; then cd .. fi git pull