Skip to content
Browse files

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

  • Loading branch information...
1 parent 1306f96 commit ae5c0aa41e3c8d829dc824adc269446c90322796 @csand committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 tmux/.tmux.conf
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"

0 comments on commit ae5c0aa

Please sign in to comment.
Something went wrong with that request. Please try again.