aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHsieh Chin Fan <typebrook@gmail.com>2022-07-08 08:51:12 +0800
committerHsieh Chin Fan <typebrook@gmail.com>2022-07-08 08:51:12 +0800
commitf6a33e0d740987ad385082608ac2b3ab0aefd611 (patch)
treea51e45ec584655ff327f9b4964383279c53c885b
parent24b047524a341ad85fdf30b6e6c6a7c97af288e6 (diff)
Improve wordingHEADmaster
-rwxr-xr-xgist2
1 files changed, 1 insertions, 1 deletions
diff --git a/gist b/gist
index adfc28c..7723b3f 100755
--- a/gist
+++ b/gist
@@ -553,7 +553,7 @@ _goto_gist() {
553 if [[ $* =~ (-n|--no-action) || $PIPE_TO_SOMEWHERE == true ]]; then 553 if [[ $* =~ (-n|--no-action) || $PIPE_TO_SOMEWHERE == true ]]; then
554 return 0 554 return 0
555 elif [[ -z $action ]]; then 555 elif [[ -z $action ]]; then
556 action='echo You are in a subshell now, press \<CTRL-D\> to exit; echo; ls; ${SHELL:-bash}' 556 action='echo You are inside subshell now, press \<CTRL-D\> to exit; echo; ls; ${SHELL:-bash}'
557 fi 557 fi
558 558
559 cd "${folder}/${GIST_ID}" && eval "$action" 559 cd "${folder}/${GIST_ID}" && eval "$action"