Skip to content

Commit

Permalink
update readme and remove extra log
Browse files Browse the repository at this point in the history
  • Loading branch information
fzerorubigd committed Nov 27, 2014
1 parent c0b7f11 commit cf34603
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,18 @@ mkdir $HOME/.config/tmass
touch $HOME/.config/tmass/sample.yml
# Edit your configuration
$EDITOR $HOME/.config/tmass/sample.yml
# Run tmass with your configuration

# 2- Or Save an existing tmux session
# Run tmux and create your favorite layout inside it
# rename the session if you want to
tmux rename-session sample
# Save the layout with tmass
tmass save sample
# also could user --target to rename saved session name
tmass save --target=sample2 sample

# Run tmass with your configuration for sample (sample and sample.yml are equal)

# Load the sample session
tmass load sample
```

Expand All @@ -47,7 +49,7 @@ for better usage help, use ```tmass help```
## Known issue
- In saving session, the saved command are always without the parameters part. for example `ls -al` is `ls`, this is a tmux limitation
- The window name in most configs are ignored
- If the pane count are more than tmux limit, then tmass try to create new window instead of split-window. In this case there is some problem with layout selection.
- If the pane count are more than tmux limit, then tmass try to create new window instead of split-window. In this case there is some problem with layout selection.

## Config file

Expand Down Expand Up @@ -112,7 +114,7 @@ windows:
- #ignored
```

## Auto complete for bash and zsh
## Auto complete for bash and zsh

### Bash

Expand Down
2 changes: 1 addition & 1 deletion tmux/tmux.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func (m *Command) Execute(base string, args []string) (string, error) {
if err != nil {
err = fmt.Errorf("failed to execute %s %s : %s \n %s", base, strings.Join(args, " "), err.Error(), string(out))
}
fmt.Println(m.String(), "==>", string(out))
//fmt.Println(m.String(), "==>", string(out))
return strings.TrimSpace(string(out)), err
}

Expand Down

0 comments on commit cf34603

Please sign in to comment.