X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=usr_share_grml%2Fzsh%2Ffunctions%2Fweather;h=b89e597c189492327016c7b6a98f0126e338980b;hb=caf69617a46822429e1d366d1bf0eab8fb50376a;hp=44a87e121e2d32fff4688eeddb49ca4d8891bfec;hpb=dffa45464d731201c72023092498d532d1799920;p=grml-etc-core.git diff --git a/usr_share_grml/zsh/functions/weather b/usr_share_grml/zsh/functions/weather index 44a87e1..b89e597 100644 --- a/usr_share_grml/zsh/functions/weather +++ b/usr_share_grml/zsh/functions/weather @@ -3,7 +3,7 @@ emulate -L zsh -if [[ -n "$1" ]]; then +if [[ -z "$1" ]]; then print 'Usage: weather ' print \ 'List of stations: http://en.wikipedia.org/wiki/List_of_airports_by_ICAO_code'