From c44f1b1e4e5607ebd55dd0a95f6976f0ba0923b1 Mon Sep 17 00:00:00 2001 From: Peng Li Date: Fri, 26 Dec 2014 02:17:07 +0800 Subject: [PATCH] zsh: change some file path --- zsh/zshrc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/zsh/zshrc b/zsh/zshrc index 758863f..9f1a748 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -194,14 +194,15 @@ git_prompt_string() { RPS1='$(git_prompt_string)' #source ~/Private/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh -source ~/Private/zsh_plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh +source ~/.zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh # http://stackoverflow.com/questions/3483604/which-shortcut-in-zsh-does-the-same-as-ctrl-u-in-bash bindkey \^U backward-kill-line export PYTHONSTARTUP="$HOME/.pythonrc" -source $HOME/.cpverc -source $HOME/.eccrc +[[ -f "$HOME/.cpverc" ]] && . "$HOME/.cpverc" +[[ -f "$HOME/.eccrc" ]] && . "$HOME/.eccrc" + #` git log --oneline --abbrev-commit --all --graph --decorate --color ` [[ -s `brew --prefix`/etc/autojump.sh ]] && . `brew --prefix`/etc/autojump.sh -- 2.11.0