diff options
author | Alan Pearce | 2014-08-03 14:56:09 +0100 |
---|---|---|
committer | Alan Pearce | 2014-08-03 14:56:09 +0100 |
commit | 5ffab52aad168298339a05b5d72fd3affa7a9366 (patch) | |
tree | 34c3c877f38dc6e4635cdb8c8c56224c995f358a | |
parent | 68e96902e27c7ee15ccc892a597b1843b1419eb7 (diff) | |
download | nixfiles-5ffab52aad168298339a05b5d72fd3affa7a9366.tar.lz nixfiles-5ffab52aad168298339a05b5d72fd3affa7a9366.tar.zst nixfiles-5ffab52aad168298339a05b5d72fd3affa7a9366.zip |
ZSH: Source osx-specific configuration
-rwxr-xr-x | tag-zsh/config/zsh/zshrc | 11 |
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 |