Skip to content

Instantly share code, notes, and snippets.

@aquarla
Created December 22, 2011 11:43
Show Gist options
  • Save aquarla/1510014 to your computer and use it in GitHub Desktop.
Save aquarla/1510014 to your computer and use it in GitHub Desktop.
引数で指定した任意のコマンドを、tmuxの新規ウィンドウを開いて実行する
#!/bin/sh
tmux new-window -n "$1"
tmux send-keys -t:"$1" "$1" C-m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment