Merge pull request #50 from Treri/master
match 'set-option -g @plugin' and 'set -g @plugin' both
This commit is contained in:
commit
4671ee745c
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ 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 '/^ *set +-g +@plugin/ { gsub(/'\''/,""); gsub(/'\"'/,""); print $4 }'
|
awk '/^ *set(-option)? +-g +@plugin/ { gsub(/'\''/,""); gsub(/'\"'/,""); print $4 }'
|
||||||
}
|
}
|
||||||
|
|
||||||
# Allowed plugin name formats:
|
# Allowed plugin name formats:
|
||||||
|
|
Loading…
Reference in a new issue