diff --git a/README.md b/README.md index 5392f1d4..ab6ade1f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Contexts -contexts 通过集群化、模块化、自动化的方式,用一个 20M 的程序文件,就可以在各种设备上,一键搭起完整的云计算服务与云研发环境。 +Contexts 通过集群化、模块化、自动化的方式,用一个 20M 的程序文件,就可以在各种设备上,一键搭起完整的云计算服务与云研发环境。 ## 安装 ### 下载编译 diff --git a/etc/conf/bash_local.sh b/etc/conf/bash_local.sh index ce9ae27a..fda9f508 100644 --- a/etc/conf/bash_local.sh +++ b/etc/conf/bash_local.sh @@ -1,27 +1,25 @@ #!/bin/sh -export CGO_ENABLED=0 -export LC_ALL=en_US.UTF-8 -export BASH_SILENCE_DEPRECATION_WARNING=1 touch ~/.hushlogin +export BASH_SILENCE_DEPRECATION_WARNING=1 +export LC_ALL=en_US.UTF-8 -export GOPROXY=https://goproxy.cn +export CGO_ENABLED=0 export GOPRIVATE=shylinux.com +export GOPROXY=https://goproxy.cn +export GOBIN=~/contexts/usr/local/bin + export CTX_ROOT=${CTX_ROOT:=~/contexts} [ "$PWD" = "$HOME" ] && cd ~/contexts [ "$PWD" = "/" ] && cd ~/contexts if uname -s|grep -v MINGW &>/dev/null; then - export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin + export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin fi ish_sys_path_load ish_sys_cli_prompt ish_sys_cli_alias vi vim ish_sys_cli_alias v vim ish_sys_cli_alias t "tmux attach" -ish_sys_cli_alias busybox "docker run -w /root -it busybox" -ish_sys_cli_alias alpine-dev "docker run -w /root -e 'LANG=en_US.UTF-8' -it alpine-dev sh" -ish_sys_cli_alias alpine "docker run -w /root -e 'LANG=en_US.UTF-8' -it alpine" -ish_sys_cli_alias centos "docker run -w /root -e 'LANG=en_US.UTF-8' -it centos" -[ -f ~/.bash_temp ] && source ~/.bash_temp; rm ~/.bash_temp &>/dev/null +# [ -f ~/.bash_temp ] && source ~/.bash_temp; rm ~/.bash_temp &>/dev/null diff --git a/go.mod b/go.mod index 13ac940c..c686e704 100644 --- a/go.mod +++ b/go.mod @@ -2,11 +2,12 @@ module shylinux.com/x/contexts go 1.13 -// replace ( -// shylinux.com/x/ice => ./usr/release -// shylinux.com/x/icebergs => ./usr/icebergs -// shylinux.com/x/toolkits => ./usr/toolkits -// ) +replace ( + shylinux.com/x/go-git => ./usr/go-git + shylinux.com/x/ice => ./usr/release + shylinux.com/x/icebergs => ./usr/icebergs + shylinux.com/x/toolkits => ./usr/toolkits +) require ( shylinux.com/x/ice v1.3.11 diff --git a/src/main.shy b/src/main.shy index d3ac41cc..d77a4d49 100644 --- a/src/main.shy +++ b/src/main.shy @@ -1,11 +1,4 @@ title "Contexts" -refer ` -https://www.unicode.org/charts/PDF/ -https://www.unicode.org/charts/PDF/U0000.pdf -https://www.unicode.org/charts/PDF/U2300.pdf -https://www.unicode.org/charts/PDF/U25A0.pdf -https://www.unicode.org/charts/PDF/U2600.pdf -` chapter "实践" label ` code wiki chat team mall diff --git a/usr/local/export/web.chat.macos.desktop/hash.json b/usr/local/export/web.chat.macos.desktop/hash.json index cff16bbf..c943a248 100644 --- a/usr/local/export/web.chat.macos.desktop/hash.json +++ b/usr/local/export/web.chat.macos.desktop/hash.json @@ -1,35 +1,35 @@ { - "366aa0": { - "meta": { - "icon": "usr/icons/Books.png", - "index": "web.wiki.word", - "name": "Books", - "time": "2023-05-24 15:32:00.605" - } - }, - "63beed": { - "meta": { - "icon": "usr/icons/Photos.png", - "index": "web.wiki.feel", - "name": "Photos", - "time": "2023-05-24 15:32:00.607" - } - }, - "680cac": { - "meta": { - "icon": "usr/icons/Grapher.png", - "index": "web.wiki.draw", - "name": "Grapher", - "time": "2023-05-24 15:32:00.608" - } - }, - "dfd878": { + "332d84": { "meta": { "args": "month", "icon": "usr/icons/Calendar.png", "index": "web.team.plan", "name": "Calendar", - "time": "2023-05-24 15:32:00.609" + "time": "2023-08-03 09:42:37.312" + } + }, + "b4badb": { + "meta": { + "icon": "usr/icons/Books.png", + "index": "web.wiki.word", + "name": "Books", + "time": "2023-08-03 09:42:37.311" + } + }, + "e08bef": { + "meta": { + "icon": "usr/icons/Photos.png", + "index": "web.wiki.feel", + "name": "Photos", + "time": "2023-08-03 09:42:37.312" + } + }, + "e76fbb": { + "meta": { + "icon": "usr/icons/Grapher.png", + "index": "web.wiki.draw", + "name": "Grapher", + "time": "2023-08-03 09:42:37.312" } } } diff --git a/usr/local/export/web.chat.macos.dock/hash.json b/usr/local/export/web.chat.macos.dock/hash.json index 04ae5352..8d565120 100644 --- a/usr/local/export/web.chat.macos.dock/hash.json +++ b/usr/local/export/web.chat.macos.dock/hash.json @@ -1,58 +1,50 @@ { - "5bd63f": { + "672e5c": { "meta": { - "icon": "/require/usr/icons/go.png", - "index": "web.code.compile", - "name": "compile", - "time": "2023-07-12 10:16:45.614" + "icon": "usr/icons/git.jpg", + "index": "web.code.git.status", + "name": "status", + "time": "2023-08-03 09:42:37.310" } }, - "7b06e7": { + "8003c1": { + "meta": { + "icon": "usr/icons/go.png", + "index": "web.code.compile", + "name": "compile", + "time": "2023-08-03 09:42:37.310" + } + }, + "875ef2": { "meta": { "icon": "usr/icons/Safari.png", "index": "web.chat.iframe", "name": "Safari", - "time": "2023-05-24 15:32:00.613" + "time": "2023-08-03 09:42:37.309" } }, - "90ef94": { - "meta": { - "icon": "/require/usr/icons/Mission Control.png", - "index": "dream", - "name": "dream", - "time": "2023-07-31 09:19:45.235" - } - }, - "99baca": { - "meta": { - "icon": "usr/icons/vimer.png", - "index": "web.code.vimer", - "name": "vimer", - "time": "2023-05-24 15:32:00.615" - } - }, - "d5df43": { + "ad6e4f": { "meta": { "icon": "usr/icons/Finder.png", "index": "web.chat.macos.finder", "name": "Finder", - "time": "2023-05-24 15:32:00.612" + "time": "2023-08-03 09:42:37.309" } }, - "e615d4": { + "b1d8f4": { + "meta": { + "icon": "usr/icons/vimer.png", + "index": "web.code.vimer", + "name": "vimer", + "time": "2023-08-03 09:42:37.309" + } + }, + "fd7492": { "meta": { "icon": "usr/icons/Terminal.png", "index": "web.code.xterm", "name": "Terminal", - "time": "2023-05-24 15:32:00.614" - } - }, - "eac248": { - "meta": { - "icon": "/require/usr/icons/git.jpg", - "index": "web.code.git.status", - "name": "status", - "time": "2023-07-15 14:31:26.486" + "time": "2023-08-03 09:42:37.309" } } }