Method: Pair::Session::Tmux#attach_command

Defined in:
lib/pair/session/tmux.rb

#attach_command(read_only = false) ⇒ Object



28
29
30
31
32
# File 'lib/pair/session/tmux.rb', line 28

def attach_command(read_only = false)
  args = %W[#{tmux} -S #{socket_path} attach]
  args << " -r" if read_only
  args
end