Merge 3c4a8c9eee
into c8ac32a085
This commit is contained in:
commit
af6beee48d
|
@ -57,6 +57,9 @@ tpm_plugins_list_helper() {
|
||||||
# read set -g @plugin "tmux-plugins/tmux-example-plugin" entries
|
# read set -g @plugin "tmux-plugins/tmux-example-plugin" entries
|
||||||
_tmux_conf_contents "full" |
|
_tmux_conf_contents "full" |
|
||||||
awk '/^[ \t]*set(-option)? +-g +@plugin/ { gsub(/'\''/,""); gsub(/'\"'/,""); print $4 }'
|
awk '/^[ \t]*set(-option)? +-g +@plugin/ { gsub(/'\''/,""); gsub(/'\"'/,""); print $4 }'
|
||||||
|
# split to separate lines, sort, choose unique ones, put back to single line
|
||||||
|
sed 's/ /\n/g' | sort | uniq | tr "\n" " "
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Allowed plugin name formats:
|
# Allowed plugin name formats:
|
||||||
|
|
Loading…
Reference in a new issue