diff --git a/zsh/Darwin.zshrc b/zsh/Darwin.zshrc index a073827..2ac60f6 100644 --- a/zsh/Darwin.zshrc +++ b/zsh/Darwin.zshrc @@ -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" diff --git a/zsh/zshrc b/zsh/zshrc index 9b8b02d..1ecd6ff 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -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