From 577b052fa0aa5cd43a154ec5b30f9e2d896416ca Mon Sep 17 00:00:00 2001 From: shaoying Date: Thu, 4 Jun 2020 10:25:49 +0800 Subject: [PATCH] opt miss.sh --- etc/miss.sh | 15 +++++++++------ usr/contexts | 1 + usr/publish/order.js | 5 +++++ 3 files changed, 15 insertions(+), 6 deletions(-) create mode 120000 usr/contexts diff --git a/etc/miss.sh b/etc/miss.sh index 32900174..9a920692 100644 --- a/etc/miss.sh +++ b/etc/miss.sh @@ -20,11 +20,14 @@ ish_miss_prepare toolkits # ish_miss_prepare wubi-dict # ish_miss_prepare word-dict +repos=(volcanos icebergs intshell contexts toolkits learning) ish_miss_pull() { - cd usr/volcanos && pwd && git pull; cd - - cd usr/icebergs && pwd && git pull; cd - - cd usr/toolkits && pwd && git pull; cd - - cd usr/learning && pwd && git pull; cd - - cd usr/intshell && pwd && git pull; cd - - cd usr/contexts && pwd && git pull; cd - + for repos in $repos; do + cd usr/$repos && pwd && git pull; cd - + done +} +ish_miss_status() { + for repos in $repos; do + cd usr/$repos && pwd && git status; cd - + done } diff --git a/usr/contexts b/usr/contexts new file mode 120000 index 00000000..b870225a --- /dev/null +++ b/usr/contexts @@ -0,0 +1 @@ +../ \ No newline at end of file diff --git a/usr/publish/order.js b/usr/publish/order.js index b88c60e5..2ec89fc4 100644 --- a/usr/publish/order.js +++ b/usr/publish/order.js @@ -10,6 +10,11 @@ Volcanos("onengine", { river: { {type: "button", name: "历史"}, {type: "button", name: "复盘"}, ], index: "web.wiki.inner", feature: {display: "/plugin/inner.js", style: "editor"}}, + {name: "word", help: "文档", inputs: [ + {type: "text", name: "path", value: "自然/编程/hi.shy", action: "auto"}, + {type: "button", name: "查看", action: "auto"}, + {type: "button", name: "返回"}, + ], index: "web.wiki.word", feature: {display: "/plugin/local/wiki/word.js", style: "word"}}, ]}, "word": {name: "word", action: [ {name: "trans", help: "词汇", inputs: [