Skip to content

Instantly share code, notes, and snippets.

@germanramos
Forked from IGZDavidSanchez/.screenrc
Last active August 29, 2015 14:06
Show Gist options
  • Save germanramos/01472677896b1a0dee33 to your computer and use it in GitHub Desktop.
Save germanramos/01472677896b1a0dee33 to your computer and use it in GitHub Desktop.
# export GIT_HOME="${HOME}/dev/git"
# turns off the license screen
startup_message off
# Status bar
hardstatus on
hardstatus alwayslastline
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %m-%d %{W}%c %{g}]'
# define a bigger scrollback, default is 100 lines.
defscrollback 10000
## Keybindings ##
# F7='k7', F8='k8', F9='k9', F10='k;', F11='F1', F12='F2'
# Good things to bind to hotkeys:
# prev (go to previous screen)
# next (go to next screen)
# kill (kill this window)
# screen (create a new window)
# title (rename the current window)
# detach (detach this session from this terminal)
bindkey -k k1 select 0
bindkey -k k2 select 1
bindkey -k k3 select 2
bindkey -k k4 select 3
bindkey -k k5 prev
bindkey -k k6 next
bindkey -k k7 title
bindkey -k k8 screen
bindkey -k k9 kill
# hydra mock
screen -t hydra-mock node $GIT_HOME/hydra-mock/hydra-mock.js
# data-extractor
screen -t data-extractor bash -c "cd $GIT_HOME/wizzo-data-extractor/webapp;mvn jetty:run"
# data-loader
screen -t data-loader bash -c "cd $GIT_HOME/wizzo-data-loader/webapp;mvn jetty:run"
#wizzo-read
#screen -t wizzo-read bash -c "cd $GIT_HOME/wizzo-read/webapp;mvn jetty:run"
#wizzo-write
#screen -t wizzo-write bash -c "cd $GIT_HOME/wizzo-write/webapp;mvn jetty:run"
#wizzo-front
#screen -t wizzo-front bash -c "cd $GIT_HOME/wizzo-front/;grunt server"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment