mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 03:09:22 +01:00
bashrc & zshrc: add alias to use curl instead of wget.
This commit is contained in:
parent
863077f47a
commit
6f1cd0e105
3
bashrc
3
bashrc
@ -327,6 +327,9 @@ alias myip="curl -s http://icanhazip.com"
|
||||
alias myip4="curl -s4 http://icanhazip.com"
|
||||
alias myip6="curl -s6 http://icanhazip.com"
|
||||
|
||||
# Curl instead of wget with warning
|
||||
alias wget="echo Running curl -LO instead of wget && curl -LO "
|
||||
|
||||
# Allow custom aliases to be put in .aliases or .bash_aliases .
|
||||
|
||||
# .aliases
|
||||
|
3
zshrc
3
zshrc
@ -276,6 +276,9 @@ alias myip="curl -s http://icanhazip.com"
|
||||
alias myip4="curl -s4 http://icanhazip.com"
|
||||
alias myip6="curl -s6 http://icanhazip.com"
|
||||
|
||||
# Curl instead of wget with warning
|
||||
alias wget="echo Running curl -LO instead of wget && curl -LO "
|
||||
|
||||
# .aliases
|
||||
if [ -f ~/.aliases ]; then
|
||||
source ~/.aliases
|
||||
|
Loading…
Reference in New Issue
Block a user