From 7972d241c352282f39a6635595e098f042b26fe6 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Wed, 25 May 2022 22:18:46 +0800 Subject: Update --- alias | 2 +- tigrc | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/alias b/alias index cc82efd..51cb1f0 100644 --- a/alias +++ b/alias @@ -325,6 +325,7 @@ alias sample.mvt='curl -O https://demotiles.maplibre.org/tiles/5/25/14.pbf' alias proto.mvt='curl -O https://raw.githubusercontent.com/mapbox/vector-tile-spec/master/2.1/vector_tile.proto' alias proto.osm='curl -O https://raw.githubusercontent.com/openstreetmap/OSM-binary/master/src/osmformat.proto' alias proto.geobuf='curl -O https://raw.githubusercontent.com/mapbox/geobuf/master/geobuf.proto' +alias data.ical='curl -O http://www.google.com/calendar/ical/taiwan__zh_tw@holiday.calendar.google.com/public/basic.ics' taiwan_dem() { <<<"http://dtm.moi.gov.tw/不分幅_全台及澎湖.zip" perl -lpe 's/([^A-Za-z0-9.\/:])/sprintf("%%%02X", ord($1))/seg' |\ xargs curl -Lo taiwan_dem.zip @@ -492,7 +493,6 @@ alias cdma='cd ~/git/mapstew-android' alias cdT='cd ~/git/tilemaker' alias stew='cd ~/git/mapstew' alias vc='vultr-cli' -alias jl='jrnl' #hugo(){ # docker run --rm \ # -u `id -u`:`id -g` \ diff --git a/tigrc b/tigrc index c05b369..06676ab 100644 --- a/tigrc +++ b/tigrc @@ -140,8 +140,7 @@ bind main p none # override default pager binding bind main pp ?git push bind main pP ?git push -u %(remote) %(branch):%(branch) bind main pr ?git push -u %(remote) %(branch):%(branch) -bind main pb ?git push -u %(remote) %(branch):'%(prompt Which branch? )' -bind main pR ?git push -u '%(prompt Which remote? )' %(branch):'%(prompt Which branch? )' +bind main pR ?git push -u '%(prompt Which remote? )':%(branch) bind main pF ?git push --force bind main pd ?git push %(remote) :%(branch) bind generic pD ?git push '%(prompt Delete from which remote? )' :'%(prompt Which reference? )' -- cgit v1.2.3-70-g09d2