From a5ca44514fb45c24b93b9b640d43db2fbe12c16e Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Wed, 23 Jun 2021 09:59:39 +0800 Subject: Reformat code --- gist | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gist b/gist index 0b8546e..c2f6e5f 100755 --- a/gist +++ b/gist @@ -61,10 +61,7 @@ declare -r per_page=100 declare -ar INDEX_FORMAT=('index' 'public' 'gist_id' 'tags_string' 'blob_code' 'file_array' 'file_num' 'comment_num' 'author' 'created_at' 'updated_at' 'description') declare -ar VALID_CONFIGS=('user' 'token' 'folder' 'auto_sync' 'action' 'EDITOR' 'protocol' 'show_untagged' 'pin') -declare -A CONFIG_VALUES -CONFIG_VALUES[auto_sync]='true|false' -CONFIG_VALUES[protocol]='https|ssh' -CONFIG_VALUES[show_untagged]='true|false' +declare -A CONFIG_VALUES=([auto_sync]='true|false' [protocol]='https|ssh' [show_untagged]='true|false') TAG_CHAR='-_[:alnum:]' if [[ ! -t 0 ]]; then -- cgit v1.2.3-70-g09d2