Fix error sourcing the fig tmux file if it does not exist

This commit is contained in:
Jonny Barnes 2023-06-23 18:05:37 +01:00
parent 00331defd8
commit 746afe9c13
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8

2
tmux
View file

@ -18,5 +18,5 @@ set-option -g allow-rename off
# Get 256 colour support # Get 256 colour support
set -g default-terminal "screen-256color" set -g default-terminal "screen-256color"
# Fig Tmux Integration: Enabled # Fig Tmux Integration: Enabled
source-file ~/.fig/tmux if-shell "test -e ~/.fig/tmux" "source-file ~/.fig/tmux"
# End of Fig Tmux Integration # End of Fig Tmux Integration