Skip to content

Commit

Permalink
tmuxinator support.
Browse files Browse the repository at this point in the history
  • Loading branch information
mathie committed Mar 30, 2012
1 parent fa846e1 commit d8954dd
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
@@ -1,6 +1,6 @@
default: install default: install


DOT_FILES = MacOSX gemrc git_template gitconfig gitignore_global tmux.conf zshrc zsh_functions editrc pryrc DOT_FILES = MacOSX gemrc git_template gitconfig gitignore_global tmux.conf zshrc zsh_functions editrc pryrc tmuxinator
BIN_DIR = bin BIN_DIR = bin


install: install_dotfiles install_bin_dir install_vim_config install: install_dotfiles install_bin_dir install_vim_config
Expand Down
1 change: 1 addition & 0 deletions global.gems
Expand Up @@ -5,3 +5,4 @@ pry
pry-doc pry-doc
puppet puppet
vagrant vagrant
tmuxinator
11 changes: 11 additions & 0 deletions tmuxinator/freeagent.yml
@@ -0,0 +1,11 @@
project_name: FreeAgent
project_root: ~/Development/fac/freeagent
tabs:
- editor: vim
- shell: git smart-pull
- server:
layout: even-vertical
panes:
- bin/foreman start
- tail -f log/development.log
- guard: bin/guard start
8 changes: 8 additions & 0 deletions zshrc
Expand Up @@ -29,6 +29,10 @@ alias dayone="/Applications/Day\ One.app/Contents/MacOS/dayone"
alias tmux-buffer-to-clipboard='tmux save-buffer -|pbcopy' alias tmux-buffer-to-clipboard='tmux save-buffer -|pbcopy'
alias tmux-buffer-from-clipboard='tmux set-buffer "$(pbpaste)"' alias tmux-buffer-from-clipboard='tmux set-buffer "$(pbpaste)"'


# tmux helper
alias mux='rvm default exec tmuxinator'
compctl -g '~/.tmuxinator/*(:t:r)' tmuxinator

# Helpful git aliases # Helpful git aliases
alias gs='git status --short --branch' alias gs='git status --short --branch'
alias gd='git diff' alias gd='git diff'
Expand Down Expand Up @@ -113,6 +117,10 @@ autoload -Uz compinit
compinit compinit
setopt complete_in_word setopt complete_in_word


# tmux helper
alias mux='tmuxinator'
compctl -g '~/.tmuxinator/*(:t:r)' tmuxinator

# Report the runtime of commands that take longer than 5 seconds. # Report the runtime of commands that take longer than 5 seconds.
REPORTTIME=5 REPORTTIME=5


Expand Down

0 comments on commit d8954dd

Please sign in to comment.