From 57e36cde137e4d6021133f5c0e70df2f6f592112 Mon Sep 17 00:00:00 2001 From: Bruno Sutic Date: Wed, 3 Jun 2015 01:46:35 +0200 Subject: [PATCH] Uups, fix last commit --- scripts/shared_functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/shared_functions.sh b/scripts/shared_functions.sh index 29aefb8..c8768b5 100644 --- a/scripts/shared_functions.sh +++ b/scripts/shared_functions.sh @@ -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