fixed vimfiles static install location
This commit is contained in:
parent
7f5b58f5c6
commit
2f19baeafd
1 changed files with 4 additions and 4 deletions
|
|
@ -61,12 +61,12 @@ detectvim(){
|
||||||
install(){
|
install(){
|
||||||
mkdir -p ${globalinstalldir}
|
mkdir -p ${globalinstalldir}
|
||||||
cp ${rundir}/functions ${globalinstalldir}/functions
|
cp ${rundir}/functions ${globalinstalldir}/functions
|
||||||
cp -r $rundir/lib/skel/* $HOME
|
cp -r ${rundir}/lib/skel/* $HOME
|
||||||
cp -r $rundir/lib/skel/.* $HOME
|
cp -r ${rundir}/lib/skel/.* $HOME
|
||||||
detectvim
|
detectvim
|
||||||
if [[ $viminstall != null ]] ; then
|
if [[ $viminstall != null ]] ; then
|
||||||
cp $rundir/lib/vimfiles/crystallite.vim /usr/share/vim/vim80/colors/crystallite.vim
|
cp $rundir/lib/vimfiles/crystallite.vim /usr/share/vim/${viminstall}/colors/crystallite.vim
|
||||||
cp $rundir/lib/vimfiles/vimrc.local /etc/vim/vimrc.local
|
cp $rundir/lib/vimfiles/vimrc.local $HOME/.vimrc
|
||||||
fi
|
fi
|
||||||
echo -e $bashrc_append >> $HOME/.bashrc
|
echo -e $bashrc_append >> $HOME/.bashrc
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue