# If ssh-agent isn't running yet, start it if[ -z "${SSH_AGENT_PID}" ]; then # Run the subshell through ssh-agent, so it terminates when we exit ssh-agent bash exit else # Set the prompt and any aliases needed export PS1="\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] " alias ls="ls --color=always" fi