Created
March 28, 2014 09:19
-
-
Save hanshuebner/9828684 to your computer and use it in GitHub Desktop.
my tmux start stuff
This file contains hidden or 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
#!/bin/sh | |
su hans -c '/home/hans/bin/start-tmux.sh' |
This file contains hidden or 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
#!/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