From ed6817695195035b82d06406c9a941d380492870 Mon Sep 17 00:00:00 2001 From: harveyshao Date: Tue, 28 Sep 2021 10:16:18 +0800 Subject: [PATCH] opt some --- etc/conf/bash_local.sh | 2 +- etc/init.shy | 12 +----------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/etc/conf/bash_local.sh b/etc/conf/bash_local.sh index 8a63190e..d7175558 100644 --- a/etc/conf/bash_local.sh +++ b/etc/conf/bash_local.sh @@ -6,8 +6,8 @@ export CTX_ROOT=${CTX_ROOT:=~/contexts} ish_sys_cli_prompt ish_sys_cli_alias vi vim ish_sys_cli_alias t "tmux attach" -ish_sys_path_insert $CTX_ROOT/usr/install/vim81/_install/bin ish_sys_path_insert $CTX_ROOT/usr/publish +ish_sys_path_insert $CTX_ROOT/usr/install/vim81/_install/bin ps aux |grep -v grep |grep ice.bin &>/dev/null && return ps aux |grep -v grep |grep tmux &>/dev/null && return diff --git a/etc/init.shy b/etc/init.shy index 688938af..ab5a348c 100644 --- a/etc/init.shy +++ b/etc/init.shy @@ -23,8 +23,7 @@ role black tech aaa.role ~web - # config serve meta.share "https://shylinux.com" - # config share meta.domain "http://localhost:9020" + config serve meta.dump false ~web.code.input # wubi import usr/wubi-dict/wubi86 @@ -37,15 +36,6 @@ github action create type "github" name "q" text "https://github.com/search" github action create type "mdn" name "q" text "https://developer.mozilla.org/zh-CN/search" - # csdn action create type "csdn" name "q" text "https://so.csdn.net/so/search/all" - # csdn action create type "juejin" name "query" text "https://juejin.cn/search?type=all" - # csdn action create type "51cto" name "keywords" text "http://so.51cto.com/?sort=time" - # csdn action create type "oschina" name "q" text "https://www.oschina.net/search?scope=project" - # csdn action create type "imooc" name "words" text "https://www.imooc.com/search/" - # csdn action create type "segmentfault" name "q" text "https://segmentfault.com/search" - # csdn action create type "nowcoder" name "query" text "https://www.nowcoder.com/search?type=all" - # csdn action create type "leetcode-cn" name "search" text "https://leetcode-cn.com/problemset/all/" - ~web.chat config header title shylinux.com/x/contexts config footer legal.0 `shylinux@163.com`