diff options
| -rwxr-xr-x | gist | 5 |
1 files changed, 1 insertions, 4 deletions
| @@ -61,10 +61,7 @@ declare -r per_page=100 | |||
| 61 | 61 | ||
| 62 | declare -ar INDEX_FORMAT=('index' 'public' 'gist_id' 'tags_string' 'blob_code' 'file_array' 'file_num' 'comment_num' 'author' 'created_at' 'updated_at' 'description') | 62 | declare -ar INDEX_FORMAT=('index' 'public' 'gist_id' 'tags_string' 'blob_code' 'file_array' 'file_num' 'comment_num' 'author' 'created_at' 'updated_at' 'description') |
| 63 | declare -ar VALID_CONFIGS=('user' 'token' 'folder' 'auto_sync' 'action' 'EDITOR' 'protocol' 'show_untagged' 'pin') | 63 | declare -ar VALID_CONFIGS=('user' 'token' 'folder' 'auto_sync' 'action' 'EDITOR' 'protocol' 'show_untagged' 'pin') |
| 64 | declare -A CONFIG_VALUES | 64 | declare -A CONFIG_VALUES=([auto_sync]='true|false' [protocol]='https|ssh' [show_untagged]='true|false') |
| 65 | CONFIG_VALUES[auto_sync]='true|false' | ||
| 66 | CONFIG_VALUES[protocol]='https|ssh' | ||
| 67 | CONFIG_VALUES[show_untagged]='true|false' | ||
| 68 | 65 | ||
| 69 | TAG_CHAR='-_[:alnum:]' | 66 | TAG_CHAR='-_[:alnum:]' |
| 70 | if [[ ! -t 0 ]]; then | 67 | if [[ ! -t 0 ]]; then |