From a8081d87befb0627d6906b7ca43aa567468e3a18 Mon Sep 17 00:00:00 2001 From: Gregory Pakosz Date: Wed, 3 Jun 2020 20:06:56 +0200 Subject: [PATCH] fixed tmux_conf_new_window_retain_current_path and tmux_conf_new_pane_retain_current_path not working under Cygwin and MSYS2 --- .tmux.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.tmux.conf b/.tmux.conf index ccea561..8edd999 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1239,6 +1239,13 @@ run -b '[ -z "#{window_active}" ] && [ -z "#{version}" ] && tmux set display-tim # esac # fi # +# case "$_uname_s" in +# *CYGWIN*|*MSYS*) +# # prevent Cygwin and MSYS2 from cd-ing into home directory when evaluating /etc/profile +# tmux setenv -g CHERE_INVOKING 1 +# ;; +# esac +# # _apply_overrides # _apply_theme& # _apply_bindings&