wip
This commit is contained in:
parent
9c5f1915c4
commit
0dcc519733
1 changed files with 5 additions and 5 deletions
10
.tmux.conf
10
.tmux.conf
|
@ -1610,8 +1610,8 @@ run 'cut -c3- "$TMUX_CONF" | sh -s _apply_configuration'
|
||||||
# mkdir -p "$TMUX_PLUGIN_MANAGER_PATH"
|
# mkdir -p "$TMUX_PLUGIN_MANAGER_PATH"
|
||||||
#
|
#
|
||||||
# __discover_plugins() (
|
# __discover_plugins() (
|
||||||
# TMUX_SOCKET="$(dirname "$TMUX_SOCKET")/tmux-discover-plugins-$$"
|
# probe_socket="$(dirname "$TMUX_SOCKET")/tmux-discover-plugins-$$"
|
||||||
# tmux -f /dev/null start-server \; set-option exit-empty off
|
# TMUX_SOCKET="$probe_socket" tmux -f /dev/null start-server \; set-option exit-empty off
|
||||||
# ___discover_plugins() {
|
# ___discover_plugins() {
|
||||||
# depth=$((${depth:-0} + 1))
|
# depth=$((${depth:-0} + 1))
|
||||||
# IFS=${_IFS:-$IFS}
|
# IFS=${_IFS:-$IFS}
|
||||||
|
@ -1622,16 +1622,16 @@ run 'cut -c3- "$TMUX_CONF" | sh -s _apply_configuration'
|
||||||
# if plugin=$(printf '%s\n' "$line" | perl -s -n -E 'print if s/^set-option\s+-g\s+\@plugin\s+//g or die' 2>/dev/null); then
|
# if plugin=$(printf '%s\n' "$line" | perl -s -n -E 'print if s/^set-option\s+-g\s+\@plugin\s+//g or die' 2>/dev/null); then
|
||||||
# discovered_plugins="${discovered_plugins}${discovered_plugins:+ }${plugin}"
|
# discovered_plugins="${discovered_plugins}${discovered_plugins:+ }${plugin}"
|
||||||
# elif next_files=$(printf '%s\n' "$line" | perl -s -n -E 's/(?<!\@)current_file/\@current_file/g && print if s/^source(?:-file)?(?:\s+-[qF]+)*\s*(["'"'"'])(.+?)\1$/\2/g or die' 2>/dev/null); then
|
# elif next_files=$(printf '%s\n' "$line" | perl -s -n -E 's/(?<!\@)current_file/\@current_file/g && print if s/^source(?:-file)?(?:\s+-[qF]+)*\s*(["'"'"'])(.+?)\1$/\2/g or die' 2>/dev/null); then
|
||||||
# next_files=$(tmux -f /dev/null \
|
# next_files=$(TMUX_SOCKET="$probe_socket" tmux -f /dev/null \
|
||||||
# set -g @current_file "$current_file" \; \
|
# set -g @current_file "$current_file" \; \
|
||||||
# display -pF "$next_files")
|
# display -pF "$next_files")
|
||||||
# # shellcheck disable=SC2086
|
|
||||||
# _IFS="$IFS"
|
# _IFS="$IFS"
|
||||||
# IFS=
|
# IFS=
|
||||||
|
# # shellcheck disable=SC2086
|
||||||
# ___discover_plugins $next_files
|
# ___discover_plugins $next_files
|
||||||
# fi
|
# fi
|
||||||
# done << EOF
|
# done << EOF
|
||||||
# $(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")
|
# $(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")
|
||||||
# EOF
|
# EOF
|
||||||
# done
|
# done
|
||||||
# }
|
# }
|
||||||
|
|
Loading…
Reference in a new issue