1
0
Fork 0
mirror of synced 2024-12-28 01:03:21 -05:00
This commit is contained in:
Gregory Pakosz 2024-11-08 18:41:37 +01:00
parent 60bebdac5b
commit 4e7302cdff

View file

@ -1611,7 +1611,7 @@ run 'cut -c3- "$TMUX_CONF" | sh -s _apply_configuration'
#
# __discover_plugins() {
# probe_socket="$(dirname "$TMUX_SOCKET")/tmux-discover-plugins-$$"
# 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
# TMUX_SOCKET="$probe_socket" tmux -f /dev/null new-session -dE \; set-hook -g after-set-option 'set -gFa @all_plugins "#{?#{m:*#{@plugin},#{@all_plugins}},,#{@plugin} }"' \; source "$1" \; show -gqv @all_plugins \; kill-session 2>/dev/null
# rm -f "$probe_socket"
# }
# tpm_plugins=$(tmux show -gvq '@tpm_plugins' 2>/dev/null)