From 868d8c7eb3a5a1ab08fd962015dbe42dd6a60776 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 18 Jan 2018 18:45:53 -0800 Subject: [PATCH] [synergy] Handle localip multiple local ip addresses --- dotfiles/lib/shellenv/synergy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/lib/shellenv/synergy.sh b/dotfiles/lib/shellenv/synergy.sh index 4807b694..7f64156a 100644 --- a/dotfiles/lib/shellenv/synergy.sh +++ b/dotfiles/lib/shellenv/synergy.sh @@ -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() {