diff options
| author | typebrook <typebrook@gmail.com> | 2020-03-25 17:16:22 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2020-03-25 17:16:22 +0800 |
| commit | a63c88600da750a5c17c89a7e45d215f5d429b75 (patch) | |
| tree | cc9454087b5ca15823164fdbc79af14f096b0f24 | |
| parent | 17b111f3318aca116c81b2d3a0810bc0f4741d1b (diff) | |
Fix dotfile is gone in 'gist detail'
| -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 | } |