aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2020-01-22 15:41:44 +0800
committertypebrook <typebrook@gmail.com>2020-01-22 15:41:44 +0800
commit6aff45f3f4df2a9e969ad12b6b63352375d64b62 (patch)
tree3784ae6e7669a9d45a707384b4c42223ea43b113
parente3086b001d7a8c1cefa947c0ea1a092e9cecfe6f (diff)
update
-rwxr-xr-xscripts/gist3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/gist b/scripts/gist
index 104b23f..da30e4b 100755
--- a/scripts/gist
+++ b/scripts/gist
@@ -283,7 +283,8 @@ _cases() {
283 [[ $2 == 'false' ]] && echo $1=$2 ||\ 283 [[ $2 == 'false' ]] && echo $1=$2 ||\
284 echo $1=true 284 echo $1=true
285 elif [[ $1 == 'folder' ]]; then 285 elif [[ $1 == 'folder' ]]; then
286 echo $1=$2 286 [[ -n "$2" ]] && echo $1=$2 ||\
287 echo $1=~/gist
287 elif [[ $1 == 'user' ]]; then 288 elif [[ $1 == 'user' ]]; then
288 echo $1=$2 289 echo $1=$2
289 fi 290 fi