diff --git a/zsh/alias/common_alias.sh b/zsh/alias/common_alias.sh index 881ae39..e2580a3 100644 --- a/zsh/alias/common_alias.sh +++ b/zsh/alias/common_alias.sh @@ -105,3 +105,8 @@ fi # Make zsh know about hosts already accessed by SSH zstyle -e ':completion:*:(ssh|scp|sftp|rsh|rsync):hosts' hosts 'reply=(${=${${(f)"$(cat {/etc/ssh_,~/.ssh/known_}hosts(|2)(N) /dev/null)"}%%[# ]*}//,/ })' + +alias weather="curl wttr.in" +alias moon="curl wttr.in/Moon" +alias quote="curl https://api.quotable.io/random | from json | get content" +alias joke="curl -H "Accept: application/json" https://icanhazdadjoke.com/ | from json | get joke"