From 3f82ce8236be289ef97becf3fa41486d2c0b6707 Mon Sep 17 00:00:00 2001 From: Gregory Pakosz Date: Mon, 11 Nov 2024 18:17:30 +0100 Subject: [PATCH] wip --- .tmux.conf | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index 591401f..4cdf337 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1625,10 +1625,13 @@ run 'cut -c3- "$TMUX_CONF" | sh -s _apply_configuration' # next_files=$(TMUX_SOCKET="$probe_socket" tmux -f /dev/null \ # set -g @current_file "$current_file" \; \ # display -pF "$next_files") +# # _IFS="$IFS" -# IFS= -# # shellcheck disable=SC2086 -# ___discover_plugins $next_files +# IFS=$(printf '\n\nx') +# IFS=${IFS%?} +# # we don't want quoting here as we want wildcard expansion +# # shellcheck disable=SC2046 +# ___discover_plugins $(printf '%s\n' "$next_files" | xargs printf '%s\n\n') # fi # done << EOF # $(TMUX_SOCKET="$probe_socket" tmux -f /dev/null source -nvq "$current_file" | perl -s -n -E 'print if s/^$current_file:\d+:\s*(set-option\s+-g\s+\@plugin\s+|source-file)/\1/g' -- -current_file="$current_file")