commit c3b9c637bc80e4b466749433fffb83842fd99eaa
parent ce4e10a862b9b7e62489fcadfe60a212d03c61f7
Author: Dash Eclipse <dashezup@disroot.org>
Date: Tue, 12 Apr 2022 05:46:19 +0000
feat: .zshrc.local: add alias weather
curl wttr.in
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/.zshrc.local b/.zshrc.local
@@ -9,6 +9,7 @@ alias bap="bat --style=plain --paging=always"
alias neofetch="USER=user HOSTNAME=hostname /usr/bin/neofetch"
alias screen="TERM=screen screen"
alias diff="diff --color=always"
+alias weather="curl --silent 'https://wttr.in/Amsterdam' | tail -n+2 | head -n-1"
# Language
alias speak="/usr/bin/trans --brief --theme=random --speak --no-translate --no-init"
alias zh-TW="/usr/bin/trans --interactive --brief --theme=random :zh-TW --no-init"