Adding git configuration

This commit is contained in:
Gerardo J. Puerta 2022-09-06 15:03:53 -05:00
parent 14c4476c79
commit c36851d07b
2 changed files with 31 additions and 1 deletions

View File

@ -66,12 +66,21 @@ then
ln -sf ~/.dotfiles/git/gitconfig ~/.gitconfig
fi
if [[ -f ~/.dotfiles/ssh ]]
if [[ -d ~/.dotfiles/ssh ]]
then
echo "Installing ssh configuration ..."
rm -rf ~/.ssh
ln -sf ~/.dotfiles/ssh ~/.ssh
fi
if [[ -d ~/.dotfiles/vim ]]
then
echo "Installing vim configuration ..."
rm -rf ~/.vim*
mkdir -p ~/.vim/bundle
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
cp ~/.dotfiles/vim/vimrc ~/.vimrc
fi
. ~/.bashrc

21
vim/vimrc Normal file
View File

@ -0,0 +1,21 @@
set nocompatible " required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim'
" add all your plugins here (note older versions of Vundle
" used Bundle instead of Plugin)
" ...
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required