diff options
-rwxr-xr-x | gist | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -328,6 +328,7 @@ _fetch_gists() { | |||
328 | echo "fetching $user's gists from $GITHUB_API..." | 328 | echo "fetching $user's gists from $GITHUB_API..." |
329 | echo | 329 | echo |
330 | local route="users/$user/gists" | 330 | local route="users/$user/gists" |
331 | local mark='' | ||
331 | if [[ $1 =~ ^(star|s)$ ]];then | 332 | if [[ $1 =~ ^(star|s)$ ]];then |
332 | route='gists/starred' | 333 | route='gists/starred' |
333 | local mark=s | 334 | local mark=s |