diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2021-05-05 11:37:21 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2021-05-05 17:40:42 +0800 |
commit | 8b03f1de5db7becd5a9f30f0f9549cf95a6b14aa (patch) | |
tree | 235a62f3bd469dad7274bac212f0bcdcce3fb3ef | |
parent | 0baed097bd7cee1f99a844aff273eb732c1ecc5f (diff) |
Improve wording of hint
-rwxr-xr-x | gist | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -26,9 +26,9 @@ | |||
26 | # lan, l <PATTERN>... Grep gists with languages | 26 | # lan, l <PATTERN>... Grep gists with languages |
27 | # lan, l List gist with languages of files | 27 | # lan, l List gist with languages of files |
28 | # detail, d <INDEX> Show the detail of a gist | 28 | # detail, d <INDEX> Show the detail of a gist |
29 | # edit, e <INDEX> ["NEW_DESCRIPTRION"] Edit a gist's description | 29 | # edit, e <INDEX> ["NEW_DESCRIPTRION"] Edit description of the given gist |
30 | # delete, D <INDEX>... [--force] Delete gists by given indices | 30 | # delete, D <INDEX>... [--force] Delete gists by given indices |
31 | # push, P <INDEX> Push changes by git (well, better to make commit by youself) | 31 | # push, P <INDEX> Push changes by git (Well... better to make commit by youself) |
32 | # clean, C Clean local repos of removed gists | 32 | # clean, C Clean local repos of removed gists |
33 | # config, c Configure with editor, will show all valid keys | 33 | # config, c Configure with editor, will show all valid keys |
34 | # config, c <VALID_KEY> [value] Configure a single option. If no value is specified, apply default setting | 34 | # config, c <VALID_KEY> [value] Configure a single option. If no value is specified, apply default setting |
@@ -547,7 +547,7 @@ _goto_gist() { | |||
547 | if [[ $* =~ (-n|--no-action) ]]; then | 547 | if [[ $* =~ (-n|--no-action) ]]; then |
548 | return 0 | 548 | return 0 |
549 | elif [[ -z $action ]]; then | 549 | elif [[ -z $action ]]; then |
550 | action='echo Inside subshell, press \<CTRL-D\> to exit; echo; ls; ${SHELL:-bash}' | 550 | action='echo You are in a subshell now, press \<CTRL-D\> to exit; echo; ls; ${SHELL:-bash}' |
551 | fi | 551 | fi |
552 | 552 | ||
553 | cd "${folder}/${GIST_ID}" && eval "$action" | 553 | cd "${folder}/${GIST_ID}" && eval "$action" |