Sha256: 7ab83177de4a535fed6314067080eaa3cd398932e3ce74b15bacdacf7999e542

Contents?: true

Size: 1.38 KB

Versions: 3

Compression:

Stored size: 1.38 KB

Contents

Termup
======

Initialize your terminal tabs with preset commands.

Compatible with Terminal.app on Mac OS X 10.6 and Ruby 1.9.2.

Installation
------------

    $ gem install termup

Usage
-----

### Getting Started ###

Call the following command:

    $ termup create new_project

This will create a new project at `~/.config/termup/new_project.yml`. Edit the file:

    $ termup edit new_project

And now you're good to go:

    $ termup start new_project

### YAML Syntax ###

    # ~/.config/termup/new_project.yml
    ---
    tabs:
      - tab1:
        - cd ~/foo/bar
        - git status
      - tab2:
        - mysql -u root
        - show databases;
      - tab3: echo "hello world"
      - tab4:
        - cd ~/foo/project
        - autotest
    options:
      iterm:
        width: 2
        height: 2

Tabs can contain a single command, or YAML arrays to execute multiple commands.

### Shortcut ###

Commands have a shortcut for even fewer keystrokes.

    $ termup s new_project

That's equivalent to `termup start new_project`.

### iTerm 2 Split Pane Support ###

Specify iTerm option to use split pane.

    options:
      iterm:
        width: 2
        height: 2

The setting above turns to:

    #################
    #       #       #
    #   1   #   3   #
    #       #       #
    #################
    #       #       #
    #   2   #   4   #
    #       #       #
    #################

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
termup-1.2.1 README.md
termup-1.2.0 README.md
termup-1.1.0 README.md