-
-
Save kgrvamsi/e7a95737d6b16c36f59b5c4489074d94 to your computer and use it in GitHub Desktop.
tmux with cmatrix
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 | |
# make sure cmatrix is installed | |
# make sure tmux is installed | |
# $ chmod 755 matrix | |
# $ ./matrix | |
SESSION=$USER | |
tmux -2 new-session -d -s $SESSION 'cmatrix' | |
tmux split-window -h -p 80 'cmatrix' | |
tmux split-window -h -p 20 'cmatrix' | |
tmux select-pane -t 1 | |
tmux split-window -v -p 80 | |
tmux split-window -v -p 20 'cmatrix' | |
tmux select-pane -t 2 | |
tmux attach |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment