Uups, fix last commit

This commit is contained in:
Bruno Sutic 2015-06-03 01:46:35 +02:00
parent e19b7689e0
commit 57e36cde13
No known key found for this signature in database
GPG Key ID: 66D96E4F2F7EF26C

View File

@ -17,7 +17,7 @@ shared_get_tpm_plugins_list() {
if [ -z "${plugins_list}" ]; then
#read set -g @plugin "tmux-plugins/tmux-example-plugin" entries
cat /etc/tmux.conf ~/.tmux.conf 2>/dev/null |
awk '/^ +set +-g +@plugin/ { gsub(/'\''/,""); gsub(/'\"'/,""); print $4 }'
awk '/^ *set +-g +@plugin/ { gsub(/'\''/,""); gsub(/'\"'/,""); print $4 }'
else
printf "%s\\n" "${plugins_list}"
fi