summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--alias1
-rwxr-xr-xscripts/gist3
2 files changed, 3 insertions, 1 deletions
diff --git a/alias b/alias
index c93f31d..5a9fb00 100644
--- a/alias
+++ b/alias
@@ -250,7 +250,6 @@ alias cdo='cd ~/git/openmaptiles'
250alias cdS='cd ~/git/StreetComplete' 250alias cdS='cd ~/git/StreetComplete'
251alias cdW='cd ~/git/geoBingAnWeb' 251alias cdW='cd ~/git/geoBingAnWeb'
252alias and='cd ~/git/geoBingAn.Android' 252alias and='cd ~/git/geoBingAn.Android'
253alias cdG='cd ~/git/git'
254alias cdT='cd ~/git/taiwan-topo' 253alias cdT='cd ~/git/taiwan-topo'
255alias cdand='cd ~/git/sample' 254alias cdand='cd ~/git/sample'
256alias cdm='cd ~/git/sharkbig.github.io' 255alias 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"
49mkdir -p $folder 49mkdir -p $folder
50index=$folder/index 50index=$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 |\