aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xgist7
1 files changed, 4 insertions, 3 deletions
diff --git a/gist b/gist
index a5d91c7..a85e826 100755
--- a/gist
+++ b/gist
@@ -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