diff options
author | typebrook <typebrook@gmail.com> | 2019-12-30 15:12:29 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2019-12-30 15:12:29 +0800 |
commit | f791483cb24005b7d07f2ca9f2737490b3fdb2ab (patch) | |
tree | 58b15e05621dee771d4af998ad78046099f6a578 | |
parent | e5f8f7539abec843381ddd6639905ce73673c4b7 (diff) |
update
-rw-r--r-- | alias | 1 | ||||
-rwxr-xr-x | scripts/gist | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -250,7 +250,6 @@ alias cdo='cd ~/git/openmaptiles' | |||
250 | alias cdS='cd ~/git/StreetComplete' | 250 | alias cdS='cd ~/git/StreetComplete' |
251 | alias cdW='cd ~/git/geoBingAnWeb' | 251 | alias cdW='cd ~/git/geoBingAnWeb' |
252 | alias and='cd ~/git/geoBingAn.Android' | 252 | alias and='cd ~/git/geoBingAn.Android' |
253 | alias cdG='cd ~/git/git' | ||
254 | alias cdT='cd ~/git/taiwan-topo' | 253 | alias cdT='cd ~/git/taiwan-topo' |
255 | alias cdand='cd ~/git/sample' | 254 | alias cdand='cd ~/git/sample' |
256 | alias cdm='cd ~/git/sharkbig.github.io' | 255 | alias cdm='cd ~/git/sharkbig.github.io' |
diff --git a/scripts/gist b/scripts/gist index 9dfa31d..834d6cf 100755 --- a/scripts/gist +++ b/scripts/gist | |||
@@ -49,6 +49,9 @@ auth_header="Authorization: token $github_api_token" | |||
49 | mkdir -p $folder | 49 | mkdir -p $folder |
50 | index=$folder/index | 50 | index=$folder/index |
51 | 51 | ||
52 | # Validate settings. | ||
53 | [ "$TRACE" ] && set -x && echo foo | ||
54 | |||
52 | # get the list of gists | 55 | # get the list of gists |
53 | _update() { | 56 | _update() { |
54 | curl -s -H "$auth_header" $github_api/users/$user/gists |\ | 57 | curl -s -H "$auth_header" $github_api/users/$user/gists |\ |