Skip to content

Commit

Permalink
added condition reattach-to-user-namespace for not install environment.
Browse files Browse the repository at this point in the history
  • Loading branch information
kanetann committed Jan 15, 2013
1 parent 7656262 commit 1ff11d6
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .tmux.conf
Expand Up @@ -58,21 +58,9 @@ set-option -g mouse-resize-pane on
set-option -g mouse-select-window on set-option -g mouse-select-window on
set-window-option -g mode-mouse on set-window-option -g mode-mouse on


# tmux-powerline
set-option -g status on
set-option -g status-interval 2
set-option -g status-utf8 on
set-option -g status-left-length 60
set-option -g status-right-length 90
set-option -g status-left "#(~/dotfiles/tmux-powerline/powerline.sh left)"
set-option -g status-right "#(~/dotfiles/tmux-powerline/powerline.sh right)"

bind C-[ run '~/dotfiles/tmux-powerline/mute_statusbar.sh left' # Mute left statusbar.
bind C-] run '~/dotfiles/tmux-powerline/mute_statusbar.sh right' # Mute right statusbar.

# reattach-to-user-namespace # reattach-to-user-namespace
set-option -g default-command "reattach-to-user-namespace -l zsh" if "test -d /usr/local/bin/reattach-to-user-namespace" "set-option -g default-command 'reattach-to-user-namespace -l zsh'"
bind C-q run-shell 'reattach-to-user-namespace ~/dotfiles/bin/tmux-pbcopy' if "test -d /usr/local/bin/reattach-to-user-namespace" "bind C-q run-shell 'reattach-to-user-namespace ~/dotfiles/bin/tmux-pbcopy'"
bind C-b kill-session bind C-b kill-session


bind-key C-i switch-client -n bind-key C-i switch-client -n
Expand Down

0 comments on commit 1ff11d6

Please sign in to comment.