Last active
August 29, 2015 14:01
-
-
Save spikensbror/135876be10d80fc7c458 to your computer and use it in GitHub Desktop.
TMux/VIM shell-based development environment with IRC provided by WeeChat.
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
#!/bin/sh | |
if [ -z "$1" ]; then | |
SESSIONNAME="devsh" | |
else | |
SESSIONNAME="devsh-$1" | |
fi | |
tmux -2 new-session -n dev -d -s $SESSIONNAME | |
tmux rename-window dev | |
tmux split-window -v | |
tmux select-pane -t 0 | |
tmux split-window -h | |
tmux send-keys vim C-m | |
tmux new-window -n srv | |
tmux new-window -n irc | |
tmux send-keys weechat-curses C-m | |
tmux select-window -t 0 | |
tmux select-pane -t 0 | |
tmux send-keys vim C-m | |
tmux select-pane -D | |
tmux -2 attach-session -t $SESSIONNAME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment