From e13852928fed064ce2e61274ed3cc74e9c4eb3c4 Mon Sep 17 00:00:00 2001 From: Gregory Pakosz Date: Fri, 11 Oct 2024 18:31:20 +0200 Subject: [PATCH] worked around termux's readlink returning /apex/com.android.runtime/bin/linker64 when reading /proc//exe (2) --- .tmux.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.tmux.conf b/.tmux.conf index 1c996ca..e334bd1 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1641,7 +1641,11 @@ run 'cut -c3- "$TMUX_CONF" | sh -s _apply_configuration' # tmux display "GitHub doesn't seem to be reachable, skipping installing and/or updating tpm and plugins..." # fi # else -# tmux run -b "sleep \$((#{display-time} / 1000)) && '$TMUX_PROGRAM' set display-time 3000 \; display 'Cannot use tpm which assumes a globally installed tmux' \; set -u display-time" +# if [ "$_tmux_version" -ge 3200 ]; then +# tmux run -b "exec sh -c 'sleep \$((#{display-time} / 1000)) && \"$TMUX_PROGRAM\" display -N -d 3000 \"Cannot use tpm which assumes a globally installed tmux\"'" +# else +# tmux run -b "exec sh -c 'sleep \$((#{display-time} / 1000)) && \"$TMUX_PROGRAM\" set display-time 3000 \; display \"Cannot use tpm which assumes a globally installed tmux\" \; set -u display-time'" +# fi # fi # # if [ "$_tmux_version" -gt 2600 ]; then