From c3da16aaa318a0db7b814d36b23fc72ec08d33e5 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Mon, 29 Jun 2020 09:45:34 +0800 Subject: Show files when using default action --- gist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gist b/gist index a776ca2..79d3379 100755 --- a/gist +++ b/gist @@ -531,7 +531,7 @@ _goto_gist() { if [[ $* =~ (-n|--no-action) ]]; then return 0 elif [[ -z $action ]]; then - action='echo Inside subshell, press \ to exit; ${SHELL:-bash}' + action='echo Inside subshell, press \ to exit; echo; ls; ${SHELL:-bash}' fi cd "${folder}/${GIST_ID}" && eval "$action" -- cgit v1.2.3-70-g09d2