diff options
Diffstat (limited to 'scripts')
| -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 |