aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2020-02-10 11:47:48 +0800
committertypebrook <typebrook@gmail.com>2020-02-10 11:47:48 +0800
commit83dc96565e9be63b7c8479998902cb17717916f3 (patch)
tree2279962641e4f8942b94089227f706270a47446e
parent25ce0c3ade5ffa3e6b5b3884f0ce6664aaea1685 (diff)
update
-rwxr-xr-xscripts/gist3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/gist b/scripts/gist
index 07962cd..2f0a3f7 100755
--- a/scripts/gist
+++ b/scripts/gist
@@ -548,12 +548,11 @@ usage() {
548_apply_config "$@" || exit 1 548_apply_config "$@" || exit 1
549getConfiguredClient || exit 1 549getConfiguredClient || exit 1
550if [[ $init ]]; then _fetch_gists; exit 0; fi 550if [[ $init ]]; then _fetch_gists; exit 0; fi
551[[ -z "$hint" ]] && hint=true
551case "$1" in 552case "$1" in
552 "") 553 "")
553 [[ -z "$hint" ]] && hint=true
554 hint=$hint _show_list ;; 554 hint=$hint _show_list ;;
555 star | s) 555 star | s)
556 [[ -z "$hint" ]] && hint=true
557 hint=$hint mark=s _show_list ;; 556 hint=$hint mark=s _show_list ;;
558 fetch | f) 557 fetch | f)
559 _fetch_gists "$2" ;; 558 _fetch_gists "$2" ;;