From d69df73fbc97cadeabe0f07cd2d78163afd421b8 Mon Sep 17 00:00:00 2001 From: typebrook Date: Sun, 9 Feb 2020 17:05:36 +0800 Subject: update --- scripts/gist | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/gist') diff --git a/scripts/gist b/scripts/gist index 96ba2d6..29bb1e1 100755 --- a/scripts/gist +++ b/scripts/gist @@ -191,6 +191,7 @@ _ask_token() { # check configuration is fine with user setting _validate_config(){ source $CONFIG 2> /dev/null + [[ $1 =~ ^(c|config|h|help|u|user|update|version) ]] && return 0 if [[ -z $user ]]; then echo 'Hi fellow! To access your gists, I need your Github username' echo "Also a personal token with scope which allows "gist"!'" -- cgit v1.2.3-70-g09d2