Skip to content

Instantly share code, notes, and snippets.

@erikzaadi
Created April 23, 2012 11:04
Show Gist options
  • Save erikzaadi/2470236 to your computer and use it in GitHub Desktop.
Save erikzaadi/2470236 to your computer and use it in GitHub Desktop.
A sample usage of ssh -t in one of my tmuxinator project files
# ~/.tmuxinator/someproject.yml
# you can make as many tabs as you wish...
project_name: SomeProject
project_root: /path/to/someproject
pre: find . -name "*.pyc" -exec rm -rf {} \#
tabs:
- editor: PYTHONPATH=$PYTHONPATH:$PWD vim
- testAndIShell:
layout: even-horizontal
panes:
- PYTHONPATH=$PYTHONPATH:$PWD nosetests .
- ssh user@host -t "cd /home/user/someproject && ipython"
- ssh: ssh user@host -t "cd /home/iser/someproject && bash -i"
- zshAndPylint:
layout: even-horizontal
panes:
- git status
- PYTHONPATH=$PYTHONPATH:$PWD pylint -r n -f colorized .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment