update update.sh
This commit is contained in:
parent
b6362ce16f
commit
5a54fb76e0
15
update.sh
15
update.sh
@ -43,6 +43,9 @@ function update_vim_plugin()
|
|||||||
# 拷贝文件
|
# 拷贝文件
|
||||||
function copy_files()
|
function copy_files()
|
||||||
{
|
{
|
||||||
|
rm -rf ~/.vimrc
|
||||||
|
ln -s ${PWD}/.vimrc ~
|
||||||
|
|
||||||
vimrc_plugins=$HOME"/.vimrc.custom.plugins"
|
vimrc_plugins=$HOME"/.vimrc.custom.plugins"
|
||||||
is_exist=$(is_exist_file $vimrc_plugins)
|
is_exist=$(is_exist_file $vimrc_plugins)
|
||||||
if [ $is_exist != 1 ]; then
|
if [ $is_exist != 1 ]; then
|
||||||
@ -54,6 +57,18 @@ function copy_files()
|
|||||||
if [ $is_exist != 1 ]; then
|
if [ $is_exist != 1 ]; then
|
||||||
cp ${PWD}/.vimrc.custom.config ~
|
cp ${PWD}/.vimrc.custom.config ~
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
rm -rf ~/.ycm_extra_conf.py
|
||||||
|
ln -s ${PWD}/.ycm_extra_conf.py ~
|
||||||
|
|
||||||
|
rm -rf ~/.vim/colors
|
||||||
|
ln -s ${PWD}/colors ~/.vim
|
||||||
|
|
||||||
|
rm -rf ~/.vim/ftplugin
|
||||||
|
ln -s ${PWD}/ftplugin ~/.vim
|
||||||
|
|
||||||
|
rm -rf ~/.vim/autoload
|
||||||
|
ln -s ${PWD}/autoload ~/.vim
|
||||||
}
|
}
|
||||||
|
|
||||||
# 打印logo
|
# 打印logo
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user