diff options
| -rwxr-xr-x | scripts/gist | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/gist b/scripts/gist index 96ba2d6..29bb1e1 100755 --- a/scripts/gist +++ b/scripts/gist | |||
| @@ -191,6 +191,7 @@ _ask_token() { | |||
| 191 | # check configuration is fine with user setting | 191 | # check configuration is fine with user setting |
| 192 | _validate_config(){ | 192 | _validate_config(){ |
| 193 | source $CONFIG 2> /dev/null | 193 | source $CONFIG 2> /dev/null |
| 194 | [[ $1 =~ ^(c|config|h|help|u|user|update|version) ]] && return 0 | ||
| 194 | if [[ -z $user ]]; then | 195 | if [[ -z $user ]]; then |
| 195 | echo 'Hi fellow! To access your gists, I need your Github username' | 196 | echo 'Hi fellow! To access your gists, I need your Github username' |
| 196 | echo "Also a personal token with scope which allows "gist"!'" | 197 | echo "Also a personal token with scope which allows "gist"!'" |