daily pastebin goal
12%
SHARE
TWEET

Untitled

a guest Oct 15th, 2018 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/sh
  2. if [[ $TMUX != "" && `/usr/bin/tmux show-options 2> /dev/null | grep "^status off$"` ]]; then
  3.     /usr/bin/tmux set status on \; $@ &> /dev/null
  4. else
  5.     if [[ $1 == "--nostatus" ]]; then
  6.         /usr/bin/tmux -2 new-session \; set status off
  7.     else
  8.         /usr/bin/tmux -2 $@
  9.     fi
  10. fi
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top