From 5253668648acf66c192e5011d3bd9330e30e753b Mon Sep 17 00:00:00 2001 From: Peng Li Date: Fri, 26 Dec 2014 10:07:47 +0800 Subject: [PATCH] zsh: add ecc and cvpe rc files --- zsh/cpverc | 16 ++++++++++++++++ zsh/eccrc | 4 ++++ zsh/zshrc | 5 +++-- 3 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 zsh/cpverc create mode 100644 zsh/eccrc diff --git a/zsh/cpverc b/zsh/cpverc new file mode 100644 index 0000000..08ac9c1 --- /dev/null +++ b/zsh/cpverc @@ -0,0 +1,16 @@ +#!/bin/zsh +# +#alias cpve_ctags="ctags --exclude=dependencies \ +# --exclude=thirdparty \ +# --exclude=target \ +# --exclude=site_scons \ +# --exclude=bootstrap \ +# --exclude='*.py' \ +# --exclude=tools \ +# -R ." +alias cpve_ctags="ctags -R cpve external movi vision" + +alias cpve_mac_build="scons arch=x86 debug=True -j 8" +alias cpve_ios_build="scons arch=arm iosversion=8.0 debug=True -j 8" + +# --exclude=external \ diff --git a/zsh/eccrc b/zsh/eccrc new file mode 100644 index 0000000..a48e4b5 --- /dev/null +++ b/zsh/eccrc @@ -0,0 +1,4 @@ +#!/bin/zsh + + +alias ecc_ctags="ctags -R contrib include src tests" diff --git a/zsh/zshrc b/zsh/zshrc index 9f1a748..aee1bf2 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -200,8 +200,9 @@ bindkey \^U backward-kill-line export PYTHONSTARTUP="$HOME/.pythonrc" -[[ -f "$HOME/.cpverc" ]] && . "$HOME/.cpverc" -[[ -f "$HOME/.eccrc" ]] && . "$HOME/.eccrc" +export ZSHHOME="$HOME/.zsh" +[[ -f "$ZSHHOME/cpverc" ]] && . "$ZSHHOME/cpverc" +[[ -f "$ZSHHOME/eccrc" ]] && . "$ZSHHOME/eccrc" #` git log --oneline --abbrev-commit --all --graph --decorate --color ` -- 2.11.0