From 746afe9c1362131f7b49dcb8383b941319429ef8 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Fri, 23 Jun 2023 18:05:37 +0100 Subject: [PATCH] Fix error sourcing the fig tmux file if it does not exist --- tmux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmux b/tmux index fbe8d40..6878cf1 100644 --- a/tmux +++ b/tmux @@ -18,5 +18,5 @@ set-option -g allow-rename off # Get 256 colour support set -g default-terminal "screen-256color" # Fig Tmux Integration: Enabled -source-file ~/.fig/tmux +if-shell "test -e ~/.fig/tmux" "source-file ~/.fig/tmux" # End of Fig Tmux Integration