commit 49c94e0ed146c12bfbc2695fd2659a89b5c7a862 parent 22dbfc60abb2965dc31dad10e84de2cfa7442f40 Author: Anders Damsgaard Christensen <adc@geo.au.dk> Date: Tue, 13 Sep 2016 20:29:18 -0700 only run reattach-to-userspace on osx Diffstat:
M | .tmux.conf | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.tmux.conf b/.tmux.conf @@ -8,7 +8,8 @@ bind-key C-a last-pane # Go to last pane with C-SPC C-a # enable reattach-to-user-namespace which fixes pasteboard access and launchctl # inside tmux -set-option -g default-command "reattach-to-user-namespace -l zsh" +#set-option -g default-command "reattach-to-user-namespace -l zsh" +if-shell 'uname | grep -qi Darwin' 'set-option -g default-command "reattach-to-user-namespace -l zsh"' set -g default-terminal "screen-256color" setw -g mode-keys vi