projects
/
dotfiles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3ef87db
)
zsh: change some file path
author
Peng Li
<seudut@gmail.com>
Thu, 25 Dec 2014 18:17:07 +0000
(
02:17
+0800)
committer
Peng Li
<seudut@gmail.com>
Thu, 25 Dec 2014 18:17:07 +0000
(
02:17
+0800)
zsh/zshrc
patch
|
blob
|
history
diff --git
a/zsh/zshrc
b/zsh/zshrc
index
758863f
..
9f1a748
100644
(file)
--- 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
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"
# 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
#` git log --oneline --abbrev-commit --all --graph --decorate --color `
[[ -s `brew --prefix`/etc/autojump.sh ]] && . `brew --prefix`/etc/autojump.sh