zsh: add ecc and cvpe rc files
authorPeng Li <seudut@gmail.com>
Fri, 26 Dec 2014 02:07:47 +0000 (10:07 +0800)
committerPeng Li <seudut@gmail.com>
Fri, 26 Dec 2014 02:07:47 +0000 (10:07 +0800)
zsh/cpverc [new file with mode: 0644]
zsh/eccrc [new file with mode: 0644]
zsh/zshrc

diff --git a/zsh/cpverc b/zsh/cpverc
new file mode 100644 (file)
index 0000000..08ac9c1
--- /dev/null
@@ -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 (file)
index 0000000..a48e4b5
--- /dev/null
+++ b/zsh/eccrc
@@ -0,0 +1,4 @@
+#!/bin/zsh
+
+
+alias ecc_ctags="ctags -R contrib include src tests"
index 9f1a748..aee1bf2 100644 (file)
--- 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 `