dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | Submodules | README

commit a46f3733512f33fb86eb6bc42dae8773efc3e9ee (patch)
parent 57aad42f3a17b055a8435754c6327fef6817ac77
Author: Alexander Karle <akarle@umass.edu>
Date:   Mon, 19 Feb 2018 10:11:25 -0500

Adding patch for tmux on OSX and electron apps

Diffstat:
Mtmux.conf | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git 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"