Use soft directly for meteo
This commit is contained in:
parent
80605a739e
commit
1588e2e15e
2 changed files with 3 additions and 7 deletions
|
@ -147,10 +147,4 @@ alias less='less -R'
|
||||||
|
|
||||||
eval $(thefuck --alias)
|
eval $(thefuck --alias)
|
||||||
|
|
||||||
meteo() {
|
alias meteo=wego
|
||||||
if [ -z $1 ]; then
|
|
||||||
/usr/bin/curl -4 "http://wttr.in/toulouse" | less
|
|
||||||
else
|
|
||||||
/usr/bin/curl -4 "http://wttr.in/$1" | less
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
|
@ -28,6 +28,8 @@ pip3 install --upgrade --user pyCardDav
|
||||||
mkdir -p ~/.config/pycard
|
mkdir -p ~/.config/pycard
|
||||||
curl https://raw.github.com/geier/pycarddav/master/pycard.conf.sample > ~/.config/pycard/pycard.conf.sample
|
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
|
# Copy the japanese part if needed
|
||||||
if [ "$1" == '--jp' ]
|
if [ "$1" == '--jp' ]
|
||||||
|
|
Loading…
Reference in a new issue