diff options
author | typebrook <typebrook@gmail.com> | 2020-05-13 23:01:51 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2020-05-14 00:44:45 +0800 |
commit | 5c0bd0f281815297f22d022710df59ef364f42c7 (patch) | |
tree | 811a919b0526c83aab2124574ba306bccac33e0f | |
parent | 34c13cad32b5c61302587794a6b22364356fbc5e (diff) |
Also use variable to set hint and helper messagev0.4
-rwxr-xr-x | gist | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -57,7 +57,7 @@ | |||
57 | currentVersion="1.23.0" | 57 | currentVersion="1.23.0" |
58 | configuredClient="" | 58 | configuredClient="" |
59 | 59 | ||
60 | NAME=$(basename $0) | 60 | NAME=${GISTSCRIPT:-$(basename $0)} |
61 | GITHUB_API=https://api.github.com | 61 | GITHUB_API=https://api.github.com |
62 | CONFIG=~/.config/gist.conf; mkdir -p ~/.config | 62 | CONFIG=~/.config/gist.conf; mkdir -p ~/.config |
63 | 63 | ||