Skip to content

Instantly share code, notes, and snippets.

@stelf
Created April 6, 2018 13:17
Show Gist options
  • Select an option

  • Save stelf/fce64316c2c3054b535b505806b0279c to your computer and use it in GitHub Desktop.

Select an option

Save stelf/fce64316c2c3054b535b505806b0279c to your computer and use it in GitHub Desktop.
dev tmux setup
#!/bin/sh
WORKROOT=/media/stelf/work2
tmux new-session -d -c $WORKROOT/web2print -n pechatar -s pechatar
tmux split-window -d -v -t pechatar -c $WORKROOT/visionr2018/visionr-dev
tmux send-keys -t pechatar "vrs run" Enter
tmux send-keys -t pechatar.1 "npm start" Enter
tmux attach-session -d -t pechatar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment