summary refs log tree commit diff stats
path: root/tag-zsh/config/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'tag-zsh/config/zsh')
-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