Skip to content

Commit

Permalink
Merge pull request #7 from epaew/feature/0.2.0
Browse files Browse the repository at this point in the history
Release v0.2.0
  • Loading branch information
epaew authored Apr 5, 2020
2 parents 2d53577 + 56e3196 commit 7a2465b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ A Tmux plugin for loading tmux.conf written in Ruby (eRuby) notation.
1. Create your `tmux.conf.erb` and place it.
* By default, tmux-erb-parser loads all `*.erb` files in `~/.config/tmux/`
* Or you can change the load path. (Please see below.)
* Sample configuration file: [sample.tmux.conf.erb](test/fixtures/sample.tmux.conf.erb)
* Sample configuration file:
* [sample.tmux.conf.erb](test/fixtures/sample.tmux.conf.erb)
* [sample.tmux.conf.yaml](test/fixtures/sample.tmux.conf.yaml)
2. Install tmux-erb-parser and run tmux!

### Install with tpm (Tmux Plugin Manager)
Expand Down
2 changes: 1 addition & 1 deletion lib/tmux-erb-parser/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module TmuxERBParser
VERSION = '0.1.6'
VERSION = '0.2.0'
end
7 changes: 3 additions & 4 deletions test/fixtures/sample.tmux.conf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,12 @@
set:
-g:
status-left-length: 50
status-left: |
"#[bg=magenta] #h [s#S] {?client_prefix,#[reverse],} <<%= prefix_key %>> "
status-left: '"#[bg=magenta] #h [s#S] {?client_prefix,#[reverse],} <<%= prefix_key %>> "'

- set:
-g:
- status-right-length 25
- status-right "#[bg=cyan] %Y-%m-%d %H:%M:%S "
if:
- 'test "${REMOTEHOST}${SSH_CONNECTION}"'
- 'set -g status-right ""'
- test "${REMOTEHOST}${SSH_CONNECTION}"
- set -g status-right ""

0 comments on commit 7a2465b

Please sign in to comment.