Skip to content

Commit

Permalink
change copy to soft-link
Browse files Browse the repository at this point in the history
  • Loading branch information
dofy committed Dec 6, 2017
1 parent cda3c95 commit 2904a65
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,17 +88,24 @@ function install_prepare_software_on_ubuntu()
function copy_files()
{
rm -rf ~/.vimrc
cp .vimrc ~
# cp .vimrc ~
ln -s ${PWD}/.vimrc ~

rm -rf ~/.vimrc.local
cp ${PWD}/.vimrc.local ~

rm -rf ~/.ycm_extra_conf.py
cp .ycm_extra_conf.py ~
# cp .ycm_extra_conf.py ~
ln -s ${PWD}/.ycm_extra_conf.py ~

mkdir ~/.vim
rm -rf ~/.vim/plugin
cp -R ./plugin ~/.vim
# cp -R ./plugin ~/.vim
ln -s ${PWD}/./plugin ~/.vim

rm -rf ~/.vim/colors
cp -R ./colors ~/.vim
# cp -R ./colors ~/.vim
ln -s ${PWD}/./colors ~/.vim
}

# 安装mac平台字体
Expand Down

0 comments on commit 2904a65

Please sign in to comment.