Skip to content

Instantly share code, notes, and snippets.

@kgrvamsi
Forked from omaraboumrad/matrix
Created March 5, 2020 20:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kgrvamsi/e7a95737d6b16c36f59b5c4489074d94 to your computer and use it in GitHub Desktop.
Save kgrvamsi/e7a95737d6b16c36f59b5c4489074d94 to your computer and use it in GitHub Desktop.
tmux with cmatrix
#!/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