Created
April 23, 2012 11:04
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.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