1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-06-27 02:17:31 +08:00
This commit is contained in:
shylinux 2020-11-29 15:58:59 +08:00
parent f6cdbca34d
commit d1d8186112
2 changed files with 7 additions and 27 deletions

View File

@ -1,32 +1,19 @@
#!/bin/sh #!/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 export ZSH=$HOME/.oh-my-zsh
# ZSH_THEME="robbyrussell"
ZSH_THEME="robbyrussell"
plugins=(tmux git) plugins=(tmux git)
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh
source ~/.oh-my-zsh/plugins/z/z.sh
export PROMPT=$LOCAL_PROMPT'%![%*]%c$ '
export EDITOR=vim export EDITOR=vim
bindkey -e
bindkey jk accept-line
bindkey "^N" down-line-or-beginning-search bindkey "^N" down-line-or-beginning-search
bindkey "^P" up-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

View File

@ -26,10 +26,3 @@ field "火山架" web.code.git.spide args `volcanos`
field "冰山架" web.code.git.trend args `icebergs` field "冰山架" web.code.git.trend args `icebergs`
field "冰山架" web.code.git.spide 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