diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2020-06-29 09:45:34 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2020-06-29 09:45:34 +0800 |
commit | c3da16aaa318a0db7b814d36b23fc72ec08d33e5 (patch) | |
tree | 4aa1d1421cf79245eb2c04fa556ff27557d0a889 | |
parent | ef7615444b902f1cc1741e0ee9a7eb7ba18cdd46 (diff) |
Show files when using default action
-rwxr-xr-x | gist | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -531,7 +531,7 @@ _goto_gist() { | |||
531 | if [[ $* =~ (-n|--no-action) ]]; then | 531 | if [[ $* =~ (-n|--no-action) ]]; then |
532 | return 0 | 532 | return 0 |
533 | elif [[ -z $action ]]; then | 533 | elif [[ -z $action ]]; then |
534 | action='echo Inside subshell, press \<CTRL-D\> to exit; ${SHELL:-bash}' | 534 | action='echo Inside subshell, press \<CTRL-D\> to exit; echo; ls; ${SHELL:-bash}' |
535 | fi | 535 | fi |
536 | 536 | ||
537 | cd "${folder}/${GIST_ID}" && eval "$action" | 537 | cd "${folder}/${GIST_ID}" && eval "$action" |