import os
from ..applescript import osascript

ITERM = os.path.join(os.path.dirname(__file__), "iterm.applescript")
ITERM_BRACKETED = os.path.join(os.path.dirname(__file__), "iterm_bracketed.applescript")


def send_to_iterm(cmd, bracketed=False, commit=True):
    if bracketed:
        osascript(ITERM_BRACKETED, cmd, str(commit))
    else:
        osascript(ITERM, cmd, str(commit))

1b536837235b5598d71ef64ef055f323900320b5
<mask token>

<mask token>


def send_to_iterm(cmd, bracketed=False, commit=True):
    if bracketed:
        osascript(ITERM_BRACKETED, cmd, str(commit))
    else:
        osascript(ITERM, cmd, str(commit))

<mask token>
ITERM = os.path.join(os.path.dirname(__file__), 'iterm.applescript')
ITERM_BRACKETED = os.path.join(os.path.dirname(__file__),
    'iterm_bracketed.applescript')


def send_to_iterm(cmd, bracketed=False, commit=True):
    if bracketed:
        osascript(ITERM_BRACKETED, cmd, str(commit))
    else:
        osascript(ITERM, cmd, str(commit))

import os
from ..applescript import osascript
ITERM = os.path.join(os.path.dirname(__file__), 'iterm.applescript')
ITERM_BRACKETED = os.path.join(os.path.dirname(__file__),
    'iterm_bracketed.applescript')


def send_to_iterm(cmd, bracketed=False, commit=True):
    if bracketed:
        osascript(ITERM_BRACKETED, cmd, str(commit))
    else:
        osascript(ITERM, cmd, str(commit))

import os
from ..applescript import osascript

ITERM = os.path.join(os.path.dirname(__file__), "iterm.applescript")
ITERM_BRACKETED = os.path.join(os.path.dirname(__file__), "iterm_bracketed.applescript")


def send_to_iterm(cmd, bracketed=False, commit=True):
    if bracketed:
        osascript(ITERM_BRACKETED, cmd, str(commit))
    else:
        osascript(ITERM, cmd, str(commit))
