aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/gist
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2020-01-21 16:52:03 +0800
committertypebrook <typebrook@gmail.com>2020-01-21 16:52:03 +0800
commite075c7e34662d30de6224eefdd620e164193447b (patch)
treee43a519386753dbb3703f228b5d2e39a0e692103 /scripts/gist
parent00ca5c60f75b634ef058118b9638cca065d89cb4 (diff)
update
Diffstat (limited to 'scripts/gist')
-rwxr-xr-xscripts/gist2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gist b/scripts/gist
index d14376e..fdac18e 100755
--- a/scripts/gist
+++ b/scripts/gist
@@ -128,7 +128,7 @@ _update() {
128 curl -s -H "$auth_header" $github_api/$route |\ 128 curl -s -H "$auth_header" $github_api/$route |\
129 _parse_response | nl -s' ' | sed -E "s/^ */$mark/" > $list_file && \ 129 _parse_response | nl -s' ' | sed -E "s/^ */$mark/" > $list_file && \
130 _show_list $list_file 130 _show_list $list_file
131 (_sync_repos $1 > /dev/null 2>&1 &) 131 [[ $auto_sync ]] && (_sync_repos $1 > /dev/null 2>&1 &)
132} 132}
133 133
134# TODO check if a user create a very first gist 134# TODO check if a user create a very first gist