Skip to content

Instantly share code, notes, and snippets.

@craigmaloney
Created June 11, 2013 16:54
Show Gist options
  • Save craigmaloney/5758571 to your computer and use it in GitHub Desktop.
Save craigmaloney/5758571 to your computer and use it in GitHub Desktop.
Script to use for attaching or starting an IRC session with tmux and weechat
#!/bin/bash
if tmux has-session -t irc
then
tmux -2 attach -t irc
else
tmux -2 new -s "irc" weechat-curses
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment