From 819fb0f011e36f53fef18e1d46a36f3aeea1f941 Mon Sep 17 00:00:00 2001 From: void Date: Sun, 27 Aug 2023 21:53:30 +0300 Subject: [PATCH] tmux: shell through env --- dot_tmux.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dot_tmux.conf b/dot_tmux.conf index f620d1f..06626a1 100644 --- a/dot_tmux.conf +++ b/dot_tmux.conf @@ -35,4 +35,8 @@ bind '"' split-window -v -c "#{pane_current_path}" if-shell '[ -x /usr/bin/fish ]' { set -g default-shell /usr/bin/fish } +# use custom shell if configured with ENV +if-shell '[ -x $TMUX_SHELL ]' { + set -g default-shell $TMUX_SHELL +}