dotfiles/Makefile
2021-12-22 20:19:48 +03:00

34 lines
800 B
Makefile

all: install
backup:
mv ~/.bashrc ~/.bashrc.bak || true
mv ~/.zshrc ~/.zshrc.bak || true
mv ~/.vimrc ~/.vimrc.bak || true
mv ~/.subbash ~/.subbash.bak || true
install:
ln -s $(PWD)/.subbash ~ || true
ln -s $(PWD)/.bashrc ~ || true
ln -s $(PWD)/.zshrc ~ || true
vim:
ln -s $(PWD)/.vim ~
ln -s $(PWD)/.vim/.vimrc ~
git clone https://github.com/VundleVim/Vundle.vim.git $(PWD)/.vim/bundle/Vundle.vim
vim +PluginInstall +qall
clean:
rm -rf .ssh doc etc scripts img .gitignore README.md .git
ssh:
echo -e "\n" >> ~/.ssh/config
cat .ssh/config >> ~/.ssh/config
git:
git config --global user.email "djvlad967891@gmail.com"
git config --global user.name "TheK4n"
git config --global core.editor vim
git config --global init.defaultBranch main
git config --global core.autocrlf true