Skip to content

Commit

Permalink
Reset core.autocrlf after install
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Jonsey committed Sep 19, 2019
1 parent c42eeb6 commit 8e9be7d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ function install() {

cp vimrc.local ~/.vimrc.local
cp vimrc.bundles.local ~/.vimrc.bundles.local

autocrlf=$(git config --global core.autocrlf)
git config --global core.autocrlf input
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim > /dev/null

$(which vim) -c "PluginInstall!" -c "q" -c "q"
git config --global core.autocrlf $(echo $autocrlf)

echo "And you're done! Have fun with your new and improved vim!"

Expand Down

0 comments on commit 8e9be7d

Please sign in to comment.