[synergy] Handle localip multiple local ip addresses

This commit is contained in:
Ivan Malison 2018-01-18 18:45:53 -08:00
parent b638b5c060
commit 868d8c7eb3
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -1,7 +1,7 @@
SYNERGY_CONF="$HOME/.synergy.conf"
synergy_start_client_at() {
ssh "$1" '[[ -z "$(pgrep synergyc)" ]] && synergyc '"$(localip)"
ssh "$1" '[[ -z "$(pgrep synergyc)" ]] && synergyc '"$(localip | get_cols 1)"
}
synergy_start_server_here() {