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