From a46f3733512f33fb86eb6bc42dae8773efc3e9ee Mon Sep 17 00:00:00 2001 From: Alexander Karle Date: Mon, 19 Feb 2018 10:11:25 -0500 Subject: [PATCH] Adding patch for tmux on OSX and electron apps --- tmux.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tmux.conf b/tmux.conf index 951bd0d..5fd2e54 100644 --- a/tmux.conf +++ b/tmux.conf @@ -13,7 +13,7 @@ unbind % bind c new-window -c "#{pane_current_path}" # reload config file (change file location to your the tmux.conf you want to use) -bind r source-file ~/.tmux.conf +bind r source-file ~/.tmux.conf; display "reloaded" # Add truecolor support set-option -ga terminal-overrides ",xterm-256color:Tc" @@ -43,3 +43,6 @@ set -s escape-time 0 # stop other apps from renaming windows set allow-rename off + +# Patch for apps such as electron in tmux on osx +set-option -g default-command "which reattach-to-user-namespace > /dev/null && reattach-to-user-namespace -l $SHELL || $SHELL" -- libgit2 0.28.4