Skip to content

Instantly share code, notes, and snippets.

@omaraboumrad
Created September 29, 2015 10:18
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save omaraboumrad/e648dabeebaa06555994 to your computer and use it in GitHub Desktop.
Save omaraboumrad/e648dabeebaa06555994 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
@omaraboumrad
Copy link
Author

See it running here: https://asciinema.org/a/27007

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment