diff --git a/dotfiles/lib/shellrc/aliases.sh b/dotfiles/lib/shellrc/aliases.sh index c241e90e..9c3a0e9a 100644 --- a/dotfiles/lib/shellrc/aliases.sh +++ b/dotfiles/lib/shellrc/aliases.sh @@ -1,3 +1,4 @@ +alias startss='open -a /System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSaverEngine.app' alias emacs="emacsclient -t" alias xemacs="\emacs --daemon > /dev/null 2&> /dev/null; emacsclient -c &" alias tmux="tmux -2" diff --git a/dotfiles/lib/shellrc/synergy.sh b/dotfiles/lib/shellrc/synergy.sh index 826b2f45..cb5a5c7c 100644 --- a/dotfiles/lib/shellrc/synergy.sh +++ b/dotfiles/lib/shellrc/synergy.sh @@ -12,12 +12,12 @@ function make_me_synergy() { } function stop_synergy_at() { - pgrep synergys | xargs kill + pgrep synergys | xargs kill -9 ssh $1 "source ~/.zshrc && clear_my_synergy" } function clear_all_synergy() { - pgrep synergy | xargs kill + pgrep synergy | xargs kill -9 } function clear_my_synergy() { @@ -29,7 +29,7 @@ function get_synergy_pids_for_ip() { } function clear_synergy_for_ip() { - get_synergy_pids_for_ip $1 | xargs kill + get_synergy_pids_for_ip $1 | xargs kill -9 } function activate_synergy_for() {