Browse Source

Update os specific config

pull/4/head
Ein Verne 4 years ago
parent
commit
99752390e0
  1. 21
      .zshrc

21
.zshrc

@ -10,6 +10,12 @@ if [[ -f "$HOME/antigen.zsh" ]]; then
source $HOME/antigen.zsh source $HOME/antigen.zsh
fi fi
if [[ -f "$HOME/dotfiles/wp-completion.bash" ]]; then
autoload bashcompinit
bashcompinit
source $HOME/dotfiles/wp-completion.bash
fi
# Load the oh-my-zsh's library. # Load the oh-my-zsh's library.
antigen use oh-my-zsh antigen use oh-my-zsh
@ -26,9 +32,6 @@ antigen bundle tmux
antigen bundle tmuxinator antigen bundle tmuxinator
antigen bundle docker antigen bundle docker
antigen bundle docker-compose antigen bundle docker-compose
# macos
antigen bundle brew
antigen bundle osx
# Syntax highlighting bundle. # Syntax highlighting bundle.
antigen bundle zsh-users/zsh-syntax-highlighting antigen bundle zsh-users/zsh-syntax-highlighting
@ -52,7 +55,19 @@ antigen bundle pip
antigen bundle python antigen bundle python
antigen bundle virtualenv antigen bundle virtualenv
# OS specific plugins # OS specific plugins
case `uname` in
Darwin)
antigen bundle brew
antigen bundle brew-cask
antigen bundle gem
antigen bundle osx
;;
FreeBSD)
;;
esac
if [[ $CURRENT_OS == 'OS X' ]]; then if [[ $CURRENT_OS == 'OS X' ]]; then
antigen bundle brew antigen bundle brew
antigen bundle brew-cask antigen bundle brew-cask

Loading…
Cancel
Save