Browse files

修正してやる!!!

  • Loading branch information...
1 parent 42def6f commit 7455815d8573ab1c968582aa11e9bd5ec7a684c6 @mironal committed Dec 17, 2012
Showing with 6 additions and 7 deletions.
  1. +6 −7 setup.sh
View
13 setup.sh
@@ -1,21 +1,20 @@
-DOT_FILES=(.gitconfig .tmux.conf .vimrc .vim .zshrc .oh-my-zsh)
+DOT_FILES=(.gitconfig .tmux.conf .vimrc .zshrc .oh-my-zsh)
for file in ${DOT_FILES[@]}
do
ln -i -s $HOME/dotfiles/$file $HOME/$file
done
touch $HOME/.my_zshrc
-
-cp bin/tmuxx $HOME/bin/
-cp bin/reattach-to-user-namespace $HOME/bin
-
cp -r .vim ~/.vim
-
case "${OSTYPE}" in
freebsd*|darwin*)
-
+ if [ ! -e ~/bin ];then
+ mkdir ~/bin
+ fi
+ cp bin/tmuxx $HOME/bin/
+ cp bin/reattach-to-user-namespace $HOME/bin
echo "alias tmux='tmuxx'" >> ~/.bashrc
echo "alias tm='tmuxx'" >> ~/.bashrc
echo "alias tma='tmux attach'" >> ~/.bashrc

0 comments on commit 7455815

Please sign in to comment.