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")