From 0a4959be8124072aa6f297927512dee408b64195 Mon Sep 17 00:00:00 2001 From: Daniel Bauer Date: Sat, 2 Aug 2025 09:34:40 +0200 Subject: [PATCH] fix: install tpm on first run --- run_onchange_before_23_tpm.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/run_onchange_before_23_tpm.sh b/run_onchange_before_23_tpm.sh index 789961c..2044c7b 100644 --- a/run_onchange_before_23_tpm.sh +++ b/run_onchange_before_23_tpm.sh @@ -1,5 +1,6 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash # Install TPM -[[ ! -d ~/.tmux/plugins/tpm ]] && git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm - +if [[ ! -d ~/.tmux/plugins/tpm ]]; then + git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm +fi