everything's better with a cowsay
This commit is contained in:
parent
3b71b785a4
commit
8ea82120c6
1 changed files with 11 additions and 1 deletions
12
.zshrc
12
.zshrc
|
@ -66,7 +66,6 @@ alias df='df -h'
|
||||||
alias weechat='TERM=screen-256color weechat'
|
alias weechat='TERM=screen-256color weechat'
|
||||||
alias lock='xscreensaver-command --lock'
|
alias lock='xscreensaver-command --lock'
|
||||||
hash htop 2>/dev/null && alias top='TERM=screen-256color htop'
|
hash htop 2>/dev/null && alias top='TERM=screen-256color htop'
|
||||||
hash dig 2>/dev/null && alias istheinternetonfire='dig +short txt istheinternetonfire.com'
|
|
||||||
hash sqlmap 2>/dev/null && alias sqlmap='sqlmap --user-agent="Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"'
|
hash sqlmap 2>/dev/null && alias sqlmap='sqlmap --user-agent="Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"'
|
||||||
hash sqlmap 2>/dev/null && alias sqlmap-tor='sqlmap --tor --tor-type=SOCKS5'
|
hash sqlmap 2>/dev/null && alias sqlmap-tor='sqlmap --tor --tor-type=SOCKS5'
|
||||||
|
|
||||||
|
@ -77,6 +76,17 @@ if hash chromium 2>/dev/null; then
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if hash dig 2>/dev/null; then
|
||||||
|
istheinternetonfire() {
|
||||||
|
txt=$(dig +short txt istheinternetonfire.com)
|
||||||
|
if hash cowsay 2>/dev/null; then
|
||||||
|
echo "$txt" | cowsay
|
||||||
|
else
|
||||||
|
echo "$txt"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
fi
|
||||||
|
|
||||||
stop_censorship() {
|
stop_censorship() {
|
||||||
msg="Halte à la censure administrative du web !"
|
msg="Halte à la censure administrative du web !"
|
||||||
for ip in "90.85.16.50" "90.85.16.51" "90.85.16.52"
|
for ip in "90.85.16.50" "90.85.16.51" "90.85.16.52"
|
||||||
|
|
Loading…
Reference in a new issue