Bash & Screen

You may be familiar with my tutorial on getting your ssh-agent to work inside screen. If not, have a look. There’s always room for improvements! Here’s an excerpt from my current .bash_profile: function Attach(){ grabssh if [[ -z “${1}” ]] ; then local n=`screen -wipe | egrep -i ‘attached|detached’ | wc -l` if [[ “${n}” …