mirror of
https://github.com/FAUSheppy/config
synced 2025-12-06 07:01:36 +01:00
small changes
This commit is contained in:
@@ -245,3 +245,6 @@ for monitor in $(herbstclient list_monitors | cut -d: -f1) ; do
|
|||||||
# start it on each monitor
|
# start it on each monitor
|
||||||
"$panel" $monitor &
|
"$panel" $monitor &
|
||||||
done
|
done
|
||||||
|
|
||||||
|
touch ~/.config/cip_logins
|
||||||
|
echo $HOST >> ~/.config/cip_logins
|
||||||
|
|||||||
0
xconf/.xinitrc
Normal file → Executable file
0
xconf/.xinitrc
Normal file → Executable file
12
zshrc
12
zshrc
@@ -144,6 +144,9 @@ setopt nolistambiguous
|
|||||||
## allow in word completion
|
## allow in word completion
|
||||||
setopt completeinword
|
setopt completeinword
|
||||||
|
|
||||||
|
## allow ommition of cd to change directory, use with caution ##
|
||||||
|
setopt autocd
|
||||||
|
|
||||||
## i forgot what this does but completion doesnt work without it
|
## i forgot what this does but completion doesnt work without it
|
||||||
autoload -Uz compinit; compinit #completioni
|
autoload -Uz compinit; compinit #completioni
|
||||||
|
|
||||||
@@ -295,11 +298,14 @@ ssh_func(){
|
|||||||
alias ssh="ssh_func"
|
alias ssh="ssh_func"
|
||||||
|
|
||||||
### EXPERIMENTAL ###
|
### EXPERIMENTAL ###
|
||||||
|
## kill all cip sessions except this pc ##
|
||||||
genocide(){
|
genocide(){
|
||||||
while IFS='' read -r line || [[ -n "$line" ]]; do
|
while IFS='' read -r line || [[ -n "$line" ]]; do
|
||||||
$(ssh $line)
|
if [[ $line != $HOST ]]; then
|
||||||
done < "$HOME/.config/logins"
|
ssh -q $line -t "pkill -u ik15ydit"
|
||||||
|
fi
|
||||||
|
done < "$HOME/.config/cip_logins"
|
||||||
|
#truncate -s 0 ~/.config/cip_logins
|
||||||
}
|
}
|
||||||
export genocide
|
export genocide
|
||||||
alias insurgency_status="ssh insurgency@atlantishq.de -t /usr/local/bin/insurgency_rcon status"
|
alias insurgency_status="ssh insurgency@atlantishq.de -t /usr/local/bin/insurgency_rcon status"
|
||||||
setopt autocd
|
|
||||||
|
|||||||
Reference in New Issue
Block a user