-
-
Save IGZDavidSanchez/90dd39a4a08a78ae43c5 to your computer and use it in GitHub Desktop.
screenrc wizzo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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