Merge branch 'main' of ssh://gitea.mmeip.cn:8022/gwbeip/TerminalPolyjuice
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user