Force creating symlinks.
This commit is contained in:
parent
918dd07a81
commit
eec72e2d64
10
install.sh
10
install.sh
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# cleaning
|
# cleaning
|
||||||
rm -rf ~/.dotfiles ~/.oh-my-zsh ~/.zshrc ~/.vim ~/.vimrc ~/.gvimrc
|
rm -rf ~/.dotfiles ~/.oh-my-zsh ~/.zshrc ~/.vim ~/.vimrc ~/.gvimrc ~/.gitignore
|
||||||
|
|
||||||
# zsh
|
# zsh
|
||||||
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
|
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
|
||||||
@ -18,12 +18,12 @@ fi
|
|||||||
git clone $path .dotfiles
|
git clone $path .dotfiles
|
||||||
|
|
||||||
# vim
|
# vim
|
||||||
ln -s ~/.dotfiles/vim ~/.vim
|
ln -sf ~/.dotfiles/vim ~/.vim
|
||||||
ln -s ~/.vim/rcfiles/vimrc ~/.vimrc
|
ln -sf ~/.vim/rcfiles/vimrc ~/.vimrc
|
||||||
ln -s ~/.vim/rcfiles/gvimrc ~/.gvimrc
|
ln -sf ~/.vim/rcfiles/gvimrc ~/.gvimrc
|
||||||
rm -rf ~/.vim/bundle/*
|
rm -rf ~/.vim/bundle/*
|
||||||
git clone git://github.com/Lokaltog/vim-powerline.git ~/.vim/bundle/powerline
|
git clone git://github.com/Lokaltog/vim-powerline.git ~/.vim/bundle/powerline
|
||||||
git clone git://github.com/scrooloose/nerdtree.git ~/.vim/bundle/nerdtree
|
git clone git://github.com/scrooloose/nerdtree.git ~/.vim/bundle/nerdtree
|
||||||
|
|
||||||
# .gitignore
|
# .gitignore
|
||||||
ln -s ~/.dotfiles/gitignore ~/.gitignore
|
ln -sf ~/.dotfiles/gitignore ~/.gitignore
|
||||||
|
Loading…
Reference in New Issue
Block a user