From 5ffab52aad168298339a05b5d72fd3affa7a9366 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 3 Aug 2014 14:56:09 +0100 Subject: ZSH: Source osx-specific configuration --- tag-zsh/config/zsh/zshrc | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc index ce15330..af56db6 100755 --- a/tag-zsh/config/zsh/zshrc +++ b/tag-zsh/config/zsh/zshrc @@ -383,6 +383,11 @@ else echo "fasd init file is missing." fi -if [[ $OSTYPE == freebsd* ]]; then - source $ZDOTDIR/freebsd.zsh -fi +case $os in + freebsd) + source $ZDOTDIR/freebsd.zsh + ;; + osx) + source $ZDOTDIR/osx.zsh + ;; +esac -- cgit 1.4.1