diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2021-06-23 09:59:39 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2021-06-23 09:59:39 +0800 |
commit | a5ca44514fb45c24b93b9b640d43db2fbe12c16e (patch) | |
tree | aea475a9acc1457a51ea498ee9348cf9d404c4f5 | |
parent | c756d71561a82eacbb2e225cac2770b15b238373 (diff) |
Reformat code
-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 |