Skip to content
This repository has been archived by the owner on Apr 7, 2018. It is now read-only.

Commit

Permalink
enable tmux-mode training to be launched from within another tmux ses…
Browse files Browse the repository at this point in the history
…sion
  • Loading branch information
jkramar committed Jan 14, 2017
1 parent 42c1076 commit 23d0dc1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions train.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ def run():
print("\n".join(cmds))
print("")
if not args.dry_run:
if args.mode == "tmux":
os.environ["TMUX"] = ""
os.system("\n".join(cmds))
print('\n'.join(notes))

Expand Down

0 comments on commit 23d0dc1

Please sign in to comment.