This commit is contained in:
Sheppy
2017-10-25 21:23:51 +02:00
parent 9c904ece7e
commit 865c7d612e
3 changed files with 3 additions and 3 deletions

2
zshrc
View File

@@ -300,7 +300,7 @@ alias ssh="ssh_func"
### EXPERIMENTAL ###
## kill all cip sessions except this pc ##
genocide(){
TMP=$(wget -q -O- --user cip --password $(cat $HOME/.config/password.cip) "https://atlantishq.de/cipactive/active_logins")
TMP=$(wget -q -O- --user cip --password $(cat $HOME/.config/herbstluftwm/password.cip) "https://atlantishq.de/cipactive/active_logins")
echo $TMP | while read line; do
if [[ $line != $HOST ]]; then
ssh -n -q $line -t "pkill -u ik15ydit"