diff options
author | typebrook <typebrook@gmail.com> | 2020-03-29 13:57:53 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2020-03-29 13:57:53 +0800 |
commit | 5e23f321695feb299883bebfc61b3b55a3a52071 (patch) | |
tree | a711c62f6e647518d3ea1594ef6ae61684c3a058 | |
parent | d5d9804bfa54910e2ad03e487f217d614aca3580 (diff) |
update
-rw-r--r-- | alias | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -28,6 +28,12 @@ fix() { | |||
28 | which $1 && grep -Po 'FIXME.*' $(which $1) | 28 | which $1 && grep -Po 'FIXME.*' $(which $1) |
29 | } | 29 | } |
30 | alias g='gist' | 30 | alias g='gist' |
31 | alias gs='gist star' | ||
32 | alias gl='gist last' | ||
33 | alias gg='gist grep' | ||
34 | alias gt='gist tag' | ||
35 | alias gtt='gist tags' | ||
36 | alias gd='gist detail' | ||
31 | 37 | ||
32 | # shell | 38 | # shell |
33 | alias src="source $HOME/.$(basename $SHELL)rc" | 39 | alias src="source $HOME/.$(basename $SHELL)rc" |
@@ -93,7 +99,7 @@ gcg() { | |||
93 | git clone git@github.com:$1/$2.git && cd $(basename $2) | 99 | git clone git@github.com:$1/$2.git && cd $(basename $2) |
94 | } | 100 | } |
95 | release() { | 101 | release() { |
96 | command="github-release.sh\n github_api_token=$GITHUB_API_TOKEN\n repo=typebrook/tig\n tag=LATEST\n type=asset\n filename=$(which tig)\n action=upload|overwrite|rename|delete\n extra=" | 102 | command="github-release.sh\n github_api_token=$GITHUB_API_TOKEN\n repo=typebrook/mapstew\n tag=daily-taiwan-pbf\n type=asset\n filename=taiwan-latest.osm.pbf\n action=upload|overwrite|rename|delete\n extra=" |
97 | prompt "$command" | 103 | prompt "$command" |
98 | } | 104 | } |
99 | asset() { | 105 | asset() { |