diff options
| -rwxr-xr-x | gist | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -583,7 +583,7 @@ _delete_gist() { | |||
| 583 | for i in "$@"; do | 583 | for i in "$@"; do |
| 584 | _gist_id "$i" &> /dev/null || continue | 584 | _gist_id "$i" &> /dev/null || continue |
| 585 | http_method DELETE "$GITHUB_API/gists/${GIST_ID}" \ | 585 | http_method DELETE "$GITHUB_API/gists/${GIST_ID}" \ |
| 586 | && echo "$i" deleted \ | 586 | && echo "$i is deleted, but the local git repo is still at $folder/${GIST_ID}" \ |
| 587 | && sed -i'' -Ee "/^$i / d" $INDEX | 587 | && sed -i'' -Ee "/^$i / d" $INDEX |
| 588 | done | 588 | done |
| 589 | } | 589 | } |