diff options
-rwxr-xr-x | gist | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -471,9 +471,10 @@ _show_detail() { | |||
471 | echo API: https://api.github.com/gists/$GIST_ID | 471 | echo API: https://api.github.com/gists/$GIST_ID |
472 | echo created_at: $(echo $record | cut -d' ' -f7) | 472 | echo created_at: $(echo $record | cut -d' ' -f7) |
473 | echo updated_at: $(echo $record | cut -d' ' -f8) | 473 | echo updated_at: $(echo $record | cut -d' ' -f8) |
474 | if [[ -d $folder/$GIST_ID ]]; then | 474 | repo=$folder/$GIST_ID |
475 | echo files | 475 | if [[ -d $repo ]]; then |
476 | ls | sed -e 's/^/ /' | 476 | echo files: |
477 | ls $repo | sed -e 's/^/ /' | ||
477 | fi | 478 | fi |
478 | } | 479 | } |
479 | 480 | ||