From 6c50a297f43084c18eea37f11aeb008878ec5431 Mon Sep 17 00:00:00 2001 From: inkch Date: Tue, 16 Jan 2024 19:20:52 +0900 Subject: [PATCH] tmux: use nesting only on working machines --- dot_config/tmux/tmux.conf.tmpl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/dot_config/tmux/tmux.conf.tmpl b/dot_config/tmux/tmux.conf.tmpl index 635d542..b1b7984 100644 --- a/dot_config/tmux/tmux.conf.tmpl +++ b/dot_config/tmux/tmux.conf.tmpl @@ -105,6 +105,8 @@ set -g window-status-current-format '' + +{{- if (or (eq .chezmoi.hostname "arch") (eq .chezmoi.hostname "buzz")) }} ############################################### # local and nested remote tmux sessions # - https://www.freecodecamp.org/news/tmux-in-practice-local-and-nested-remote-tmux-sessions-4f7ba5db8795/ @@ -122,12 +124,8 @@ bind -T off M-q \ set -u status off \;\ set status-right '' -# local and nested remote tmux sessions -############################################### - -{{- if (or (eq .chezmoi.hostname "arch") (eq .chezmoi.hostname "buzz")) }} ####################### # Plugins #######################