aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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"