aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHsieh Chin Fan <typebrook@gmail.com>2021-06-23 09:59:39 +0800
committerHsieh Chin Fan <typebrook@gmail.com>2021-06-23 09:59:39 +0800
commita5ca44514fb45c24b93b9b640d43db2fbe12c16e (patch)
treeaea475a9acc1457a51ea498ee9348cf9d404c4f5
parentc756d71561a82eacbb2e225cac2770b15b238373 (diff)
Reformat code
-rwxr-xr-xgist5
1 files changed, 1 insertions, 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
61 61
62declare -ar INDEX_FORMAT=('index' 'public' 'gist_id' 'tags_string' 'blob_code' 'file_array' 'file_num' 'comment_num' 'author' 'created_at' 'updated_at' 'description') 62declare -ar INDEX_FORMAT=('index' 'public' 'gist_id' 'tags_string' 'blob_code' 'file_array' 'file_num' 'comment_num' 'author' 'created_at' 'updated_at' 'description')
63declare -ar VALID_CONFIGS=('user' 'token' 'folder' 'auto_sync' 'action' 'EDITOR' 'protocol' 'show_untagged' 'pin') 63declare -ar VALID_CONFIGS=('user' 'token' 'folder' 'auto_sync' 'action' 'EDITOR' 'protocol' 'show_untagged' 'pin')
64declare -A CONFIG_VALUES 64declare -A CONFIG_VALUES=([auto_sync]='true|false' [protocol]='https|ssh' [show_untagged]='true|false')
65CONFIG_VALUES[auto_sync]='true|false'
66CONFIG_VALUES[protocol]='https|ssh'
67CONFIG_VALUES[show_untagged]='true|false'
68 65
69TAG_CHAR='-_[:alnum:]' 66TAG_CHAR='-_[:alnum:]'
70if [[ ! -t 0 ]]; then 67if [[ ! -t 0 ]]; then