From 1588e2e15eba1927528b557aa66dd866e6cf9e41 Mon Sep 17 00:00:00 2001 From: "Christophe Buffenoir (kirua)" Date: Thu, 18 Feb 2016 15:51:10 +0100 Subject: [PATCH] Use soft directly for meteo --- common/.zshrc | 8 +------- update-home.sh | 2 ++ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/common/.zshrc b/common/.zshrc index b87bffc..3d69bcb 100644 --- a/common/.zshrc +++ b/common/.zshrc @@ -147,10 +147,4 @@ alias less='less -R' eval $(thefuck --alias) -meteo() { - if [ -z $1 ]; then - /usr/bin/curl -4 "http://wttr.in/toulouse" | less - else - /usr/bin/curl -4 "http://wttr.in/$1" | less - fi -} +alias meteo=wego diff --git a/update-home.sh b/update-home.sh index e0a8f18..5114099 100755 --- a/update-home.sh +++ b/update-home.sh @@ -28,6 +28,8 @@ pip3 install --upgrade --user pyCardDav mkdir -p ~/.config/pycard curl https://raw.github.com/geier/pycarddav/master/pycard.conf.sample > ~/.config/pycard/pycard.conf.sample +go get github.com/schachmat/wego +ln -s ~/go/bin/wego ~/.local/bin # Copy the japanese part if needed if [ "$1" == '--jp' ]