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