diff --git a/.zshrc b/.zshrc index 63a9c2a..be7df63 100644 --- a/.zshrc +++ b/.zshrc @@ -54,7 +54,7 @@ # Customize to your needs... export PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin:$HOME/.scripts - export PYTHONPATH=/usr/lib/python3.4/site-packages + export PYTHONPATH=/usr/lib/python3.9/site-packages # if colors of ls don't work as expected the following line delete all colors from ls # export LS_COLORS="rs=0:di=01;96:ln=04;01;35:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30; 43:ca=30;41:tw=30;42:$" @@ -67,8 +67,8 @@ #source /usr/share/zsh/plugins/zsh-dircolors-solarized/zsh-dircolors-solarized.zsh # function to detect ddos attacks - function detect-ddos { $ - sudo netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort - n $ + function detect-ddos { + sudo netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n } # function to simple block suspicious IPs