[synergy] Handle localip multiple local ip addresses

This commit is contained in:
2018-01-18 18:45:53 -08:00
parent b638b5c060
commit 868d8c7eb3

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() {