Permalink
Browse files

setup.shをmac os処理分岐を追加

  • Loading branch information...
cybaron committed Apr 8, 2012
1 parent 6f2fc76 commit 22bbe69146422dabfb5dca1f3434b223e6ecd84e
Showing with 10 additions and 5 deletions.
  1. +1 −0 .zshrc
  2. +4 −0 .zshrc.mac
  3. +0 −5 .zshrc.mine
  4. +5 −0 setup.sh
View
1 .zshrc
@@ -231,5 +231,6 @@ esac
## load user .zshrc configuration file
#
[ -f ${HOME}/.zshrc.mine ] && source ${HOME}/.zshrc.mine
+[ -f ${HOME}/.zshrc.mac ] && source ${HOME}/.zshrc.mac
[ -f ${HOME}/.zshrc.alias ] && source ${HOME}/.zshrc.alias
View
@@ -0,0 +1,4 @@
+export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
+export EDITOR=/Applications/MacVim.app/Contents/MacOS/Vim
+
+alias ls="ls -G --color"
View
@@ -1,7 +1,2 @@
[[ -s "/Users/kazuki/.rvm/scripts/rvm" ]] && source "/Users/kazuki/.rvm/scripts/rvm" # This loads RVM into a shell session.
-export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
-export EDITOR=/Applications/MacVim.app/Contents/MacOS/Vim
-
-alias ls="ls -G --color"
-alias tmux="tmuxx"
View
@@ -7,3 +7,8 @@ do
ln -s $HOME/dotfiles/$file $HOME/$file
done
+case "${OSTYPE}" in
+freebsd*|darwin*)
+ ln -s $HOME/dotfiles/.zshrc.mac $HOME/.zshrc.mac
+ ;;
+esac

0 comments on commit 22bbe69

Please sign in to comment.