Skip to content

Instantly share code, notes, and snippets.

@macdiva
macdiva / tmux-named
Created November 19, 2013 15:42 — forked from indirect/tmux-named
#!/bin/bash
# Set up paths and whatnot
test -e ~/.bashrc && source ~/.bashrc
# We need tmux. Obvs.
if [[ -z `which tmux` ]]; then echo "You need tmux first!"; exit 1; fi
# Named variables are much more flexible
name="$1"