1
0
Fork 0

Add aliases for tmuxinator if installed

pull/214/head
Ben O'Hara 13 years ago
parent bede1a2a71
commit bcc988ecae

@ -1 +1 @@
Subproject commit 8b89dd9d10e86313f49fafdf88e8540f97346f33 Subproject commit 650f504207eaaab733a89329e4c3cc8c7df75933

@ -1 +1 @@
Subproject commit bb0d575942760fe483790fe878ea43b1f781e2ca Subproject commit 732b7d6e65c0349ee1d89b698bf9cd8a30c1015d

@ -27,6 +27,17 @@ Aliases
- `ta` attaches or switches to a tmux session. - `ta` attaches or switches to a tmux session.
- `tl` lists sessions managed by the tmux server. - `tl` lists sessions managed by the tmux server.
If [tmuxinator][6] is installed, these aliases will also be setup
- `ts [project_name]` start a tmux session using project's tmuxinator config
- `to [project_name]` create a new project file and open it in your editor
- `tc [source_project] [new_project]` copy source_project project file to a new project called new_project
- `tD [project_name]` deletes the project called project_name
- `tI` deletes all existing projects!
- `tls` list all existing projects
- `tlsv` verbosly list all existing projects
- `tdoc` look for problems in your configuration
Caveats Caveats
------- -------
@ -53,4 +64,5 @@ Authors
[3]: ChrisJohnsen/tmux-MacOSX-pasteboard [3]: ChrisJohnsen/tmux-MacOSX-pasteboard
[4]: mxcl/homebrew [4]: mxcl/homebrew
[5]: https://github.com/sorin-ionescu/oh-my-zsh/issues [5]: https://github.com/sorin-ionescu/oh-my-zsh/issues
[6]: https://github.com/aziz/tmuxinator

@ -31,3 +31,15 @@ fi
# Aliases # Aliases
alias ta="tmux attach-session" alias ta="tmux attach-session"
alias tl="tmux list-sessions" alias tl="tmux list-sessions"
if (( $+commands[tmuxinator] )); then
alias ts="tmuxinator start "
alias to="tmuxinator open "
alias tc="tmuxinator copy "
alias tD="tmuxinator delete "
alias tI="tmuxinator implode"
alias tls="tmuxinator list"
alias tlsv="tmuxinator list -v"
alias tdoc="tmuxinator doctor"
fi

Loading…
Cancel
Save