summary refs log tree commit diff stats
path: root/tag-zsh/config/zsh
diff options
context:
space:
mode:
authorAlan Pearce2014-08-03 14:56:09 +0100
committerAlan Pearce2014-08-03 14:56:09 +0100
commit5ffab52aad168298339a05b5d72fd3affa7a9366 (patch)
tree34c3c877f38dc6e4635cdb8c8c56224c995f358a /tag-zsh/config/zsh
parent68e96902e27c7ee15ccc892a597b1843b1419eb7 (diff)
downloaddotfiles-5ffab52aad168298339a05b5d72fd3affa7a9366.tar.lz
dotfiles-5ffab52aad168298339a05b5d72fd3affa7a9366.tar.zst
dotfiles-5ffab52aad168298339a05b5d72fd3affa7a9366.zip
ZSH: Source osx-specific configuration
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