Created
June 14, 2019 14:24
-
-
Save ronanyeah/a724e3df41eab0428feafce247aabcb4 to your computer and use it in GitHub Desktop.
Tmux pane setup
This file contains hidden or 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/bash | |
| # This creates one window with 3 panes (one vertical split, one horizontal split), | |
| # and one window with 2 panes (one vertical split). | |
| # -d = detached mode | |
| tmux new-session -d | |
| tmux split-window -h # vertical split | |
| tmux split-window # horizontal split | |
| tmux new-window | |
| tmux split-window -h | |
| tmux attach-session |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment