mirror of
https://github.com/FAUSheppy/config
synced 2025-12-06 07:01:36 +01:00
fdjgksd
This commit is contained in:
2
zshrc
2
zshrc
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user