Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

tmux: Re-enabled reattach-to-user-namespace command with check

  • Loading branch information...
commit ae5c0aa41e3c8d829dc824adc269446c90322796 1 parent 1306f96
@csand authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 tmux/.tmux.conf
View
4 tmux/.tmux.conf
@@ -92,6 +92,6 @@ bind p paste-buffer
bind -t vi-copy y copy-selection
bind -t vi-copy Escape cancel
-# Fix tmux detaching from clipboard
-# set -g default-command "hash reattach-to-user-namespace && reattach-to-user-namespace -l zsh"
+# Fix tmux detaching from clipboard on OS X
+set -g default-command "if which reattach-to-user-namespace 2>/dev/null; then reattach-to-user-namespace -l $SHELL -l; fi"
Please sign in to comment.
Something went wrong with that request. Please try again.