Rename some things

This commit is contained in:
flyingscorpio@arch-desktop 2020-04-08 17:08:41 +02:00
parent 7dc2f588bb
commit bf24b7e67b

View file

@ -7,9 +7,9 @@ if [ -z "$BASE_DIR" ]; then
exit 1 exit 1
fi fi
# UPDATE VIMRC {{{ # Add .vimrc {{{
echo "Updating .vimrc..." echo "Adding .vimrc..."
if [ ! -L ~/.vimrc ]; then if [ ! -L ~/.vimrc ]; then
if [ "$OVERWRITE" = 'true' ]; then if [ "$OVERWRITE" = 'true' ]; then
rm ~/.vimrc 2> /dev/null rm ~/.vimrc 2> /dev/null
@ -28,9 +28,9 @@ fi
# }}} # }}}
# UPDATE COLORS {{{ # Add colors {{{
echo "Updating colors..." echo "Adding colors..."
mkdir -p ~/.vim/colors mkdir -p ~/.vim/colors
color_files=$(ls "$BASE_DIR"/dotfiles/vim_colors) color_files=$(ls "$BASE_DIR"/dotfiles/vim_colors)
@ -42,7 +42,7 @@ done
# }}} # }}}
# INSTALL OR UPDATE VUNDLE {{{ # Install or update Vundle {{{
echo "Setting up Vundle..." echo "Setting up Vundle..."
if [ ! -e ~/.vim/bundle/Vundle.vim ]; then if [ ! -e ~/.vim/bundle/Vundle.vim ]; then
@ -67,7 +67,7 @@ fi
# }}} # }}}
# UPDATE VUNDLE PLUGINS {{{ # Update Vundle plugins {{{
echo "Checking Vundle Plugins..." echo "Checking Vundle Plugins..."
if vim +PluginInstall +qall; then if vim +PluginInstall +qall; then
@ -90,7 +90,7 @@ fi
# }}} # }}}
# SETUP GIT SUBMODULES FOR PYTHON MODE {{{ # Setup git-submodules for python-mode {{{
echo "Setting up Python-mode folder for git submodules..." echo "Setting up Python-mode folder for git submodules..."
if [ -e ~/.vim/bundle/python-mode ]; then if [ -e ~/.vim/bundle/python-mode ]; then
@ -107,7 +107,7 @@ fi
# }}} # }}}
# INSTALL LINTERS {{{ # Install linters {{{
echo "Installing linters..." echo "Installing linters..."
if [ "$OS" = 'debian' ]; then if [ "$OS" = 'debian' ]; then
@ -146,7 +146,7 @@ fi
# }}} # }}}
# INSTALL YOUCOMPLETEME {{{ # Install YouCompleteMe {{{
echo "Setting up YouCompleteMe..." echo "Setting up YouCompleteMe..."
if [ ! -e ~/.vim/ycm_installed ]; then if [ ! -e ~/.vim/ycm_installed ]; then
@ -175,9 +175,9 @@ fi
# }}} # }}}
# UPDATE YOUCOMPLETEME EXTRA CONF FILES {{{ # Add YouCompleteMe extra conf files {{{
echo "Updating YouCompleteMe extra_conf files..." echo "Adding YouCompleteMe extra_conf files..."
ln -rs "$BASE_DIR"/dotfiles/ycm_extra_conf.py ~/.ycm_extra_conf.py 2> /dev/null ln -rs "$BASE_DIR"/dotfiles/ycm_extra_conf.py ~/.ycm_extra_conf.py 2> /dev/null
ln -rs "$BASE_DIR"/dotfiles/global_extra_conf.py ~/.global_extra_conf.py 2> /dev/null ln -rs "$BASE_DIR"/dotfiles/global_extra_conf.py ~/.global_extra_conf.py 2> /dev/null