Skip to content

Instantly share code, notes, and snippets.

@kristianfreeman
Created April 28, 2015 17:30
Show Gist options
  • Save kristianfreeman/0fb16c8e8864ef1edb3e to your computer and use it in GitHub Desktop.
Save kristianfreeman/0fb16c8e8864ef1edb3e to your computer and use it in GitHub Desktop.
nmux() {
if [ -z "$1" ]
then
tmux new -s $(basename `pwd` | xargs printf)
else
tmux new -s "$1"
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment