diff options
| -rwxr-xr-x | scripts/gist | 2 |
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 |