diff options
-rwxr-xr-x | gist | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -46,7 +46,6 @@ | |||
46 | # It is your business to do git commit and git push | 46 | # It is your business to do git commit and git push |
47 | 47 | ||
48 | # TODO support file type from github API, like 'gist code' | 48 | # TODO support file type from github API, like 'gist code' |
49 | # TODO list dot file in 'gist detail' | ||
50 | # TODO README/helper message about tag and default action ${SHELL:-bash} | 49 | # TODO README/helper message about tag and default action ${SHELL:-bash} |
51 | # TODO codebase statistics, like C++ or something | 50 | # TODO codebase statistics, like C++ or something |
52 | # TODO migrate to gh-page, with install.sh and check_md5 in README | 51 | # TODO migrate to gh-page, with install.sh and check_md5 in README |
@@ -537,7 +536,7 @@ _show_detail() { | |||
537 | echo updated_at: $updated_at | 536 | echo updated_at: $updated_at |
538 | repo=$folder/$GIST_ID | 537 | repo=$folder/$GIST_ID |
539 | if [[ -d $repo ]]; then | 538 | if [[ -d $repo ]]; then |
540 | echo files:; ls $repo | sed -e 's/^/ /' | 539 | echo files:; ls -a $repo | sed -Ee 's/(\.|\.\.|\.git)//g; /^$/ d; s/^/ /' |
541 | fi | 540 | fi |
542 | done | 541 | done |
543 | } | 542 | } |