Created
December 22, 2011 11:43
-
-
Save aquarla/1510014 to your computer and use it in GitHub Desktop.
引数で指定した任意のコマンドを、tmuxの新規ウィンドウを開いて実行する
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 | |
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