diff --git a/.tmux.conf b/.tmux.conf index d3aec94..b551893 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1614,6 +1614,7 @@ run 'cut -c3- "$TMUX_CONF" | sh -s _apply_configuration' # TMUX_SOCKET="$probe_socket" tmux -f /dev/null new-session -dE true \; set-hook -g after-set-option 'set -gFa @all_plugins "#{?#{m:*#{@plugin},#{@all_plugins}},,#{@plugin} }"' \; source "$1" \; show -gqv @all_plugins \; kill-server 2>/dev/null # rm -f "$probe_socket" # } +# tpm_plugins=$(tmux show -gvq '@tpm_plugins' 2>/dev/null) # tpm_plugins=$(cat << EOF | tr ' ' '\n' | awk '/^\s*$/ {next;}; !seen[$0]++ { gsub(/^[ \t]+/,"",$0); gsub(/[ \t]+$/,"",$0); print $0 }' # $tpm_plugins # $(__discover_plugins "$TMUX_CONF_LOCAL")