[zsh] loads platform specifics after anitgen

This commit is contained in:
Josh Sherman 2016-11-20 12:41:38 -06:00
parent 3942ace436
commit d0163d5feb
2 changed files with 4 additions and 5 deletions

View file

@ -1,7 +1,5 @@
#!/usr/bin/env zsh
antigen-bundle osx
export GREP_OPTIONS="--color=auto --exclude-dir=${GREP_EXCLUDE_DIR} --exclude-dir=.sass-cache"
source "`brew --prefix`/etc/grc.bashrc"

View file

@ -18,15 +18,16 @@ antigen-use oh-my-zsh
antigen-bundle git
antigen-theme $DOTFILES/zsh joshtronic
OS_ZSHRC=$DOTFILES/zsh/$OS.zshrc
if [ -e $OS_ZSHRC ]; then source $OS_ZSHRC; fi
antigen-bundle zsh-users/zsh-completions
antigen-bundle zsh-users/zsh-syntax-highlighting
antigen-bundle zsh-users/zsh-history-substring-search
if [ $OS = 'Darwin' ]; then antigen-bundle osx; fi
antigen-apply
OS_ZSHRC=$DOTFILES/zsh/$OS.zshrc
if [ -e $OS_ZSHRC ]; then source $OS_ZSHRC; fi
bindkey '^[[A' history-substring-search-up
bindkey '^[[B' history-substring-search-down