mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 03:09:22 +01:00
bashrc & zshrc: use icanhazip.com instead of cadoth & mute curl.
This commit is contained in:
parent
fa15d03596
commit
f3c0211824
6
bashrc
6
bashrc
@ -323,9 +323,9 @@ alias gpg-key-count="gpg --export -a|gpg --import"
|
||||
alias follow="tail -f "
|
||||
|
||||
#myip shows current IP. This was a function.
|
||||
alias myip="curl http://cadoth.net/~mkaysi/IP.php"
|
||||
alias myip4="curl -4 http://cadoth.net/~mkaysi/IP.php"
|
||||
alias myip6="curl -6 http://cadoth.net/~mkaysi/IP.php"
|
||||
alias myip="curl -s http://icanhazip.com"
|
||||
alias myip4="curl -s4 http://icanhazip.com"
|
||||
alias myip6="curl -s6 http://icanhazip.com"
|
||||
|
||||
# Allow custom aliases to be put in .aliases or .bash_aliases .
|
||||
|
||||
|
7
zshrc
7
zshrc
@ -272,10 +272,9 @@ alias gpg-key-count="gpg --export -a|gpg --import"
|
||||
alias follow="tail -f "
|
||||
|
||||
#myip shows current IP. This was a function.
|
||||
alias myip="curl http://cadoth.net/~mkaysi/IP.php"
|
||||
alias myip4="curl -4 http://cadoth.net/~mkaysi/IP.php"
|
||||
alias myip6="curl -6 http://cadoth.net/~mkaysi/IP.php"
|
||||
|
||||
alias myip="curl -s http://icanhazip.com"
|
||||
alias myip4="curl -s4 http://icanhazip.com"
|
||||
alias myip6="curl -s6 http://icanhazip.com"
|
||||
|
||||
# .aliases
|
||||
if [ -f ~/.aliases ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user