From 2efb3f2b42f2be98eb6d38756fd6a7a7594e569d Mon Sep 17 00:00:00 2001 From: Georgi Gardev Date: Wed, 7 Dec 2016 16:02:36 +0200 Subject: [PATCH] use reattach-to-user-namespace when starting bash in tmux --- .tmux.conf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index 23aafed..af6fb75 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -6,9 +6,8 @@ set -g prefix C-a unbind C-b -# Start in Zsh -set -g default-command '/bin/zsh --login' -set -g default-shell /bin/zsh +# Start in newer bash +set-option -g default-command "reattach-to-user-namespace -l /usr/local/bin/bash --login" # Disable delay set -sg escape-time 1