From ee1c2911ccc5c2802054894768d27a46e41d71a2 Mon Sep 17 00:00:00 2001 From: shaoying Date: Fri, 24 Apr 2020 17:12:08 +0800 Subject: [PATCH] opt some --- etc/conf/sh.vim | 4 +--- etc/conf/zshrc | 6 ++++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/etc/conf/sh.vim b/etc/conf/sh.vim index a7fc0d4c..c35a97bc 100644 --- a/etc/conf/sh.vim +++ b/etc/conf/sh.vim @@ -1,7 +1,5 @@ highlight ishKey ctermfg=yellow syntax match ishKey "require" -syntax match ishKey "module" -syntax match ishKey "script" -syntax match ishKey "object" +syntax match ishKey "ish" set foldmarker={,} diff --git a/etc/conf/zshrc b/etc/conf/zshrc index 674e0d70..647cba01 100644 --- a/etc/conf/zshrc +++ b/etc/conf/zshrc @@ -91,8 +91,10 @@ export EDITOR=vim [ -f ~/.zsh_local ] && source ~/.zsh_local -[ -f ~/.ish/plug.sh ] && source ~/.ish/plug.sh -[ -f ~/.ish/conf.sh ] && source ~/.ish/conf.sh +if [ -f ~/.ish/plug.sh ] && source ~/.ish/plug.sh; then + require conf.sh + # require as miss github.com/shylinux/shell misc/miss/miss.sh +fi bindkey -e bindkey jk accept-line