Merge branch 'main' of ssh://gitea.mmeip.cn:8022/gwbeip/TerminalPolyjuice

This commit is contained in:
2026-01-30 16:48:30 +08:00

View File

@@ -105,3 +105,8 @@ fi
# Make zsh know about hosts already accessed by SSH # 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)"}%%[# ]*}//,/ })' 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"