diff options
-rwxr-xr-x | gist | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -64,8 +64,9 @@ CONFIG=~/.config/gist.conf; mkdir -p ~/.config | |||
64 | INDEX_FORMAT=('index' 'url' 'tags_string' 'blob_code' 'file_array' 'file_num' 'comment_num' 'author' 'created_at' 'updated_at' 'description') | 64 | INDEX_FORMAT=('index' 'url' 'tags_string' 'blob_code' 'file_array' 'file_num' 'comment_num' 'author' 'created_at' 'updated_at' 'description') |
65 | TAG_CHAR='-_[:alnum:]' | 65 | TAG_CHAR='-_[:alnum:]' |
66 | [[ ! -t 0 ]] && INPUT=$(cat) | 66 | [[ ! -t 0 ]] && INPUT=$(cat) |
67 | [[ ! -t 1 && -z $hint ]] && hint=false | ||
68 | 67 | ||
68 | # Default configuration | ||
69 | [[ ! -t 1 && -z $hint ]] && hint=false | ||
69 | auto_sync=true # automatically clone the gist repo | 70 | auto_sync=true # automatically clone the gist repo |
70 | protocol=https | 71 | protocol=https |
71 | 72 | ||