aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2020-03-25 17:16:22 +0800
committertypebrook <typebrook@gmail.com>2020-03-25 17:16:22 +0800
commita63c88600da750a5c17c89a7e45d215f5d429b75 (patch)
treecc9454087b5ca15823164fdbc79af14f096b0f24
parent17b111f3318aca116c81b2d3a0810bc0f4741d1b (diff)
Fix dotfile is gone in 'gist detail'
-rwxr-xr-xgist3
1 files changed, 1 insertions, 2 deletions
diff --git a/gist b/gist
index 7db74d2..f7133b0 100755
--- a/gist
+++ b/gist
@@ -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}