Add activate_synergy_for

This commit is contained in:
Ivan Malison 2014-08-20 15:01:08 -07:00
parent 739cf39771
commit fea6073f5f

View File

@ -231,3 +231,7 @@ function make_me_synergy() {
function clear_synergy() {
pgrep synergy | xargs kill
}
function activate_synergy_for() {
synergys --config ~/synergy.conf && ssh $1 "source ~/.zshrc && make_me_synergy"
}