Adding git configuration
This commit is contained in:
parent
14c4476c79
commit
c36851d07b
11
install.sh
11
install.sh
@ -66,12 +66,21 @@ then
|
|||||||
ln -sf ~/.dotfiles/git/gitconfig ~/.gitconfig
|
ln -sf ~/.dotfiles/git/gitconfig ~/.gitconfig
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -f ~/.dotfiles/ssh ]]
|
if [[ -d ~/.dotfiles/ssh ]]
|
||||||
then
|
then
|
||||||
echo "Installing ssh configuration ..."
|
echo "Installing ssh configuration ..."
|
||||||
rm -rf ~/.ssh
|
rm -rf ~/.ssh
|
||||||
ln -sf ~/.dotfiles/ssh ~/.ssh
|
ln -sf ~/.dotfiles/ssh ~/.ssh
|
||||||
fi
|
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
|
. ~/.bashrc
|
||||||
|
|
||||||
|
21
vim/vimrc
Normal file
21
vim/vimrc
Normal 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
|
Loading…
x
Reference in New Issue
Block a user