diff options
author | typebrook <typebrook@gmail.com> | 2020-02-05 17:19:21 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2020-02-05 17:19:21 +0800 |
commit | c04bd9aaeb0198c5eff9f1f64278a8a52081cb97 (patch) | |
tree | 94e4679a9bc8590254b9e4db29e8476e8f8dc543 | |
parent | 1ed7464bf7c1b166b37fb5af5c029019abdfc1f7 (diff) |
update
-rwxr-xr-x | scripts/gist | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/gist b/scripts/gist index 242334f..b901046 100755 --- a/scripts/gist +++ b/scripts/gist | |||
@@ -83,7 +83,6 @@ _ask_token() { | |||
83 | 83 | ||
84 | while [[ ! $token =~ ^[[:alnum:]]{40}$ ]]; do | 84 | while [[ ! $token =~ ^[[:alnum:]]{40}$ ]]; do |
85 | [[ -n $token ]] && echo "Not a valid token" | 85 | [[ -n $token ]] && echo "Not a valid token" |
86 | trap 'echo; return 1' INT | ||
87 | read -p "Paste your token here (Ctrl-C to skip): " token < /dev/tty | 86 | read -p "Paste your token here (Ctrl-C to skip): " token < /dev/tty |
88 | done | 87 | done |
89 | _configure token $token | 88 | _configure token $token |