Skip to content

Instantly share code, notes, and snippets.

@bradwright
Created February 28, 2011 15:37
Show Gist options
  • Save bradwright/847470 to your computer and use it in GitHub Desktop.
Save bradwright/847470 to your computer and use it in GitHub Desktop.
Local screen RC that runs an alias called "scd" after creating screens. Normally screen fails at this.
# local screenrc
screen -t bash 0
screen -t "paver run" 1
screen -t "python shell" 2
screen -t syslog 3 tail -F /var/log/syslog
screen -t mailqueue 4
# run some bash aliases
select 1
stuff "scd\012"
select 2
stuff "scd\012"
select 4
stuff "scd\012"
select 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment