Skip to content

Instantly share code, notes, and snippets.

@hanshuebner
Created March 28, 2014 09:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hanshuebner/9828684 to your computer and use it in GitHub Desktop.
Save hanshuebner/9828684 to your computer and use it in GitHub Desktop.
my tmux start stuff
#!/bin/sh
su hans -c '/home/hans/bin/start-tmux.sh'
#!/bin/sh
export PATH=/home/hans/bin:/usr/local/bin:/usr/local/sbin:/opt/local/bin:/opt/local/sbin:/home/hans/bin:/sbin:/sbin:/bin:/usr/sbin:/usr/bin
export HOME=/home/hans
cd $HOME
tmux new-session -d -s hans
tmux new-window -t hans:1 -n "emacs" "emacs -nw"
cd $HOME/planetwit
tmux new-window -t hans:3 -n "planetwit" "sh run.sh"
cd $HOME/html-scrabble
tmux new-window -t hans:4 -n "scrabble" "sh run.sh"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment