Quote argument in activate_synergy_for so that multiple lines don't cause test to blow up.
This commit is contained in:
parent
66782345ff
commit
216f62317c
@ -33,6 +33,6 @@ function clear_synergy_for_ip() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function activate_synergy_for() {
|
function activate_synergy_for() {
|
||||||
test -z $(pgrep synergys) && synergys --config ~/synergy.conf
|
test -z "$(pgrep synergys)" && synergys --config ~/synergy.conf
|
||||||
ssh $1 "source ~/.zshrc && make_me_synergy"
|
ssh $1 "source ~/.zshrc && make_me_synergy"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user