Skip to content

Instantly share code, notes, and snippets.

@nylen
Created August 6, 2010 03:11
Show Gist options
  • Save nylen/510778 to your computer and use it in GitHub Desktop.
Save nylen/510778 to your computer and use it in GitHub Desktop.
[ -f ~/.bashrc ] && . ~/.bashrc
rake run
echo '
To run brcm again, type
rake run
and press Enter.
'
[ -f ~/.bashrc ] && . ~/.bashrc
script/rails server
echo '
To run pfc again, type
script/rails server
and press Enter.
'
#!/bin/bash
cd "/opt/wesabe"
shopt -s expand_aliases
alias setsid="`which setsid`"
(
cd pfc
setsid xterm -T pfc -e bash --rcfile "/opt/wesabe/pfc.bashrc"
) &
(
cd brcm-accounts-api
setsid xterm -T brcm -e bash --rcfile "/opt/wesabe/brcm.bashrc"
) &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment