Commit graph

6 commits

Author SHA1 Message Date
Matt Hayden
d80c470061 Fix quoting 2021-03-14 17:04:23 -06:00
Matt Hayden
42635d9c6f Recommended bash function doesn't force an arbitrary default 2021-03-14 16:53:38 -06:00
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