X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=zsh%2Fzshrc;h=b0e385770e9147aa283def65da55e1333468ebb1;hb=ead4f202d58421c31b50ef662d1ee5429543599c;hp=758863f77edd4f07fa8f89b00530f6534b506331;hpb=29757ae620a75ea01fbd37dfb46cde95c59a8c56;p=dotfiles.git diff --git a/zsh/zshrc b/zsh/zshrc index 758863f..b0e3857 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -90,6 +90,8 @@ alias ln='ln -i' #alias svn='colorsvn' alias sed='/usr/local/bin/gsed' +alias 'git log'='git log --oneline --graph --all --color --decorate --abbrev-commit' + ########################### zsh completion ########################## @@ -194,14 +196,20 @@ 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 +export ZSHHOME="$HOME/.zsh" +[[ -f "$ZSHHOME/cpverc" ]] && . "$ZSHHOME/cpverc" +[[ -f "$ZSHHOME/eccrc" ]] && . "$ZSHHOME/eccrc" + #` git log --oneline --abbrev-commit --all --graph --decorate --color ` [[ -s `brew --prefix`/etc/autojump.sh ]] && . `brew --prefix`/etc/autojump.sh + +alias emacs='TERM=xterm-256color emacs -nw' + +alias tw='open -a /Applications/TextWrangler.app/'