Skip to content

Instantly share code, notes, and snippets.

@mmisono
Created January 23, 2010 07:18
Show Gist options
  • Save mmisono/284473 to your computer and use it in GitHub Desktop.
Save mmisono/284473 to your computer and use it in GitHub Desktop.
#!/bin/sh
tmpfile=~/.screen/termtter
if [ -e $tmpfile ] ; then
screen -X eval 'resize 10' 'focus up'
rm $tmpfile
else
screen -X eval 'focus bottom' 'resize max'
touch $tmpfile
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment