diff options
-rw-r--r-- | alias | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -145,6 +145,8 @@ alias sample-geojson='curl -O https://docs.mapbox.com/help/data/stations.geojson | |||
145 | alias sample-geotiff='curl -O https://docs.mapbox.com/help/data/landsat.tif' | 145 | alias sample-geotiff='curl -O https://docs.mapbox.com/help/data/landsat.tif' |
146 | alias sample-csv='curl -O https://docs.mapbox.com/help/data/airports.csv' | 146 | alias sample-csv='curl -O https://docs.mapbox.com/help/data/airports.csv' |
147 | alias sample-svg='curl -O https://docs.mapbox.com/help/data/bicycle-24.svg' | 147 | alias sample-svg='curl -O https://docs.mapbox.com/help/data/bicycle-24.svg' |
148 | alias sample-mbtiles='curl -O https://docs.mapbox.com/help/data/trails.mbtiles' | ||
149 | alias sample-kml='curl -O https://docs.mapbox.com/help/data/farmers_markets.kml' | ||
148 | 150 | ||
149 | # data file | 151 | # data file |
150 | alias taiwan='curl -O http://download.geofabrik.de/asia/taiwan-latest.osm.pbf' | 152 | alias taiwan='curl -O http://download.geofabrik.de/asia/taiwan-latest.osm.pbf' |
@@ -163,8 +165,7 @@ alias xl='history | tail -1 | grep -oP "^\s*[0-9]+\s\s\K.*" | xsel -ib && xsel - | |||
163 | alias xc='xsel -ob | gcc -xc -' | 165 | alias xc='xsel -ob | gcc -xc -' |
164 | 166 | ||
165 | # image | 167 | # image |
166 | alias vertical='_convert' | 168 | vertical() { |
167 | _convert() { | ||
168 | convert $@ -append output.png | 169 | convert $@ -append output.png |
169 | } | 170 | } |
170 | 171 | ||