diff --git a/etc/conf/zshrc b/etc/conf/zshrc index 9653fe41..d1056f0c 100644 --- a/etc/conf/zshrc +++ b/etc/conf/zshrc @@ -1,32 +1,19 @@ #!/bin/sh +if [ -f ~/.ish/plug.sh ] && source ~/.ish/plug.sh; then + require conf.sh + + ish_ctx_cli_prompt +fi + export ZSH=$HOME/.oh-my-zsh - -ZSH_THEME="robbyrussell" - +# ZSH_THEME="robbyrussell" plugins=(tmux git) source $ZSH/oh-my-zsh.sh -source ~/.oh-my-zsh/plugins/z/z.sh -export PROMPT=$LOCAL_PROMPT'%![%*]%c$ ' export EDITOR=vim -bindkey -e -bindkey jk accept-line bindkey "^N" down-line-or-beginning-search bindkey "^P" up-line-or-beginning-search -bindkey -M vicmd j down-line-or-beginning-search -bindkey -M vicmd k up-line-or-beginning-search -export GOPRIVATE=github.com -export GOPROXY=https://goproxy.cn,direct -export ctx_dev=http://localhost:9020 - -ISH_CONF_WORK=~/usr/local/work -if [ -f ~/.ish/plug.sh ] && source ~/.ish/plug.sh; then - require conf.sh -fi - -[ -f etc/local.sh ] && source etc/local.sh -export PATH=~/go/bin:$PATH diff --git a/src/main.shy b/src/main.shy index 6b79bb23..a0359096 100644 --- a/src/main.shy +++ b/src/main.shy @@ -26,10 +26,3 @@ field "火山架" web.code.git.spide args `volcanos` field "冰山架" web.code.git.trend args `icebergs` field "冰山架" web.code.git.spide args `icebergs` -section "模块" -label "模块" ` -ctx cli aaa web -lex yac gdb log -tcp nfs ssh mdb -` stroke red fill black -