summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xtag-zsh/config/zsh/zshrc11
1 files 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