diff options
author | typebrook <typebrook@gmail.com> | 2020-02-09 13:04:51 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2020-02-09 13:04:51 +0800 |
commit | 998cc09f486a6d097ba8573a9ccad96324cfbf7f (patch) | |
tree | 21e019881756261093599641d6e7279c8669a8cf /scripts/gist | |
parent | 6bd0f583ea178757eae6874c3f4cc07f23f5d552 (diff) |
update
Diffstat (limited to 'scripts/gist')
-rwxr-xr-x | scripts/gist | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/gist b/scripts/gist index 60a7be7..c4ed57b 100755 --- a/scripts/gist +++ b/scripts/gist | |||
@@ -171,7 +171,6 @@ _apply_config() { | |||
171 | } | 171 | } |
172 | 172 | ||
173 | _check_repo_status() { | 173 | _check_repo_status() { |
174 | # if repo is not yet cloned, show green message "Not cloned yet" | ||
175 | if [[ ! -d $1 ]]; then | 174 | if [[ ! -d $1 ]]; then |
176 | if [[ $auto_sync ]]; then echo "\e[32m[cloning]\e[0m"; fi | 175 | if [[ $auto_sync ]]; then echo "\e[32m[cloning]\e[0m"; fi |
177 | else | 176 | else |
@@ -185,7 +184,6 @@ _check_repo_status() { | |||
185 | fi | 184 | fi |
186 | } | 185 | } |
187 | 186 | ||
188 | # TODO Split into 2 funcs for filter and display | ||
189 | # Show the list of gist, but not updated time | 187 | # Show the list of gist, but not updated time |
190 | _show_list() { | 188 | _show_list() { |
191 | if [[ ! -e $INDEX ]]; then | 189 | if [[ ! -e $INDEX ]]; then |