projects
/
grml-etc-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
zshrc: Use zrcgotwidget in appropriate places
[grml-etc-core.git]
/
usr_share_grml
/
zsh
/
functions
/
weather
diff --git
a/usr_share_grml/zsh/functions/weather
b/usr_share_grml/zsh/functions/weather
index
44a87e1
..
b89e597
100644
(file)
--- a/
usr_share_grml/zsh/functions/weather
+++ b/
usr_share_grml/zsh/functions/weather
@@
-3,7
+3,7
@@
emulate -L zsh
emulate -L zsh
-if [[ -
n
"$1" ]]; then
+if [[ -
z
"$1" ]]; then
print 'Usage: weather <station_id>'
print \
'List of stations: http://en.wikipedia.org/wiki/List_of_airports_by_ICAO_code'
print 'Usage: weather <station_id>'
print \
'List of stations: http://en.wikipedia.org/wiki/List_of_airports_by_ICAO_code'