ref(Makefile): rm clean, rm install, add make zsh, make bash

This commit is contained in:
TheK4n 2022-01-08 10:15:32 +03:00
parent 15185f8b71
commit 624e5cc262
2 changed files with 9 additions and 6 deletions

View File

@ -78,6 +78,8 @@ nnoremap <C-h> :tabprevious<CR>
nnoremap <C-l> :tabnext<CR> nnoremap <C-l> :tabnext<CR>
" Plugins " Plugins
set rtp+=~/.vim/bundle/Vundle.vim set rtp+=~/.vim/bundle/Vundle.vim

View File

@ -1,5 +1,5 @@
all: install all: bash
backup: backup:
mv ~/.bashrc ~/.bashrc.bak || true mv ~/.bashrc ~/.bashrc.bak || true
@ -12,11 +12,15 @@ backup:
mv ~/.gitconfig ~/.gitconfig.bak || true mv ~/.gitconfig ~/.gitconfig.bak || true
mv ~/.gitignore ~/.gitignore.bak || true mv ~/.gitignore ~/.gitignore.bak || true
install: bash:
ln -s $(PWD)/.subbash ~ || true ln -s $(PWD)/.subbash ~ || true
ln -s $(PWD)/.subzsh ~ || true
ln -s $(PWD)/.bashrc ~ || true ln -s $(PWD)/.bashrc ~ || true
zsh:
ln -s $(PWD)/.subzsh ~ || true
ln -s $(PWD)/.zshrc ~ || true ln -s $(PWD)/.zshrc ~ || true
tmux:
ln -s $(PWD)/.tmux.conf ~ || true ln -s $(PWD)/.tmux.conf ~ || true
vim: vim:
@ -27,9 +31,6 @@ vim:
git clone https://github.com/VundleVim/Vundle.vim.git $(PWD)/.vim/bundle/Vundle.vim && \ git clone https://github.com/VundleVim/Vundle.vim.git $(PWD)/.vim/bundle/Vundle.vim && \
vim +PluginInstall +qall vim +PluginInstall +qall
clean:
rm -rf .ssh doc etc img README.md
ssh: ssh:
echo -e "\n" >> ~/.ssh/config && cat .ssh/config >> ~/.ssh/config echo -e "\n" >> ~/.ssh/config && cat .ssh/config >> ~/.ssh/config