forked from colonelpanic/dotfiles
Add screensaver alias; make synergy commands use sigkill.
This commit is contained in:
parent
143056e728
commit
96ebb38f7d
@ -1,3 +1,4 @@
|
|||||||
|
alias startss='open -a /System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSaverEngine.app'
|
||||||
alias emacs="emacsclient -t"
|
alias emacs="emacsclient -t"
|
||||||
alias xemacs="\emacs --daemon > /dev/null 2&> /dev/null; emacsclient -c &"
|
alias xemacs="\emacs --daemon > /dev/null 2&> /dev/null; emacsclient -c &"
|
||||||
alias tmux="tmux -2"
|
alias tmux="tmux -2"
|
||||||
|
@ -12,12 +12,12 @@ function make_me_synergy() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function stop_synergy_at() {
|
function stop_synergy_at() {
|
||||||
pgrep synergys | xargs kill
|
pgrep synergys | xargs kill -9
|
||||||
ssh $1 "source ~/.zshrc && clear_my_synergy"
|
ssh $1 "source ~/.zshrc && clear_my_synergy"
|
||||||
}
|
}
|
||||||
|
|
||||||
function clear_all_synergy() {
|
function clear_all_synergy() {
|
||||||
pgrep synergy | xargs kill
|
pgrep synergy | xargs kill -9
|
||||||
}
|
}
|
||||||
|
|
||||||
function clear_my_synergy() {
|
function clear_my_synergy() {
|
||||||
@ -29,7 +29,7 @@ function get_synergy_pids_for_ip() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function clear_synergy_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() {
|
function activate_synergy_for() {
|
||||||
|
Loading…
Reference in New Issue
Block a user