Commit Graph

4 Commits

Author SHA1 Message Date
Pierce Griffiths
9a59cc67bf
Fixed error in bash function
Replaced "$COLUMNS" with "$(tput cols)", because shell variables are not exported to child processes.
2019-07-06 13:02:20 -05:00
Alexander Meshcheryakov
dce65ed181
Guess user location when running weather ""
Omitting colon makes bash substitute default location only when parameter is absent.
Therefore empty city name propagates to wttr.in and allows it to guess.
2018-12-15 14:21:08 +03:00
Alexander Meshcheryakov
d3b28cbf09
Handle narrow terminals in sample bash function
Also allow compression of server response
2018-12-14 00:34:07 +03:00
Igor Chubin
67938c3ef3 added share/bash-function.txt 2017-03-06 08:13:46 +01:00