1
0
Fork 0
mirror of synced 2024-12-21 22:21:08 -05:00

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 if [ -z "${plugins_list}" ]; then
#read set -g @plugin "tmux-plugins/tmux-example-plugin" entries #read set -g @plugin "tmux-plugins/tmux-example-plugin" entries
cat /etc/tmux.conf ~/.tmux.conf 2>/dev/null | 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 else
printf "%s\\n" "${plugins_list}" printf "%s\\n" "${plugins_list}"
fi fi