Advertisement
Guest User

tmux.sh

a guest
May 15th, 2016
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.17 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # create/reattatch to a tmux session
  4.  
  5. xrdb ~/.Xresources
  6. urxvt -e zsh -c "tmux -q has-session && exec tmux attach-session -d || exec tmux new-session"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement