Skip to content

Commit

Permalink
Describe usage of default configurations in README
Browse files Browse the repository at this point in the history
  • Loading branch information
poxar committed Mar 20, 2015
1 parent bd74b65 commit 77d9712
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,18 @@ Under the hood `tmux-up` will:

If you detach from the `example/dev` session, simply re-run `tmux-up dev.conf` which will reattach you to the session.

## Default Configurations

You can place default configurations in `~/.tmux/`, for example `~/.tmux/default.conf`. To attach a default configuration just run

```
❯ tmux-up default.conf
```

in any directory. This will create a `tmux` session named `default` and invoke each line in `~/.tmux/default.conf`.

If you have a `default.conf` in your current directory, it will take precedence over the configuration in `~/.tmux/`.

## Alternatives

There are quite a lot of other approaches to this problem already floating around.
Expand Down

0 comments on commit 77d9712

Please sign in to comment.