Skip to content

Commit

Permalink
.zshrc: Load local files
Browse files Browse the repository at this point in the history
  • Loading branch information
eagletmt committed Oct 10, 2013
1 parent cf14a37 commit ca3af5f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dot.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,9 @@ add-zsh-hook precmd vcsinfo_precmd
if which rbenv > /dev/null; then
eval "$(rbenv init -)"
fi

arch_rc="$HOME/.zshrc.$(uname)"
[ -r "$arch_rc" ] && source "$arch_rc"

local_rc="$HOME/.zshrc.local"
[ -r "$local_rc" ] && source "$local_rc"
10 changes: 10 additions & 0 deletions dot.zshrc.darwin
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
macvim=/Applications/MacVim.app/Contents/MacOS/Vim
if [ -x $macvim ]; then
alias vi=$macvim
alias vim=$macvim
alias view="$macvim -R"
alias vimdiff="$macvim -d"
export EDITOR=$macvim
fi

alias ll='ls -AlFhG'

0 comments on commit ca3af5f

Please sign in to comment.