ref(Makefile): rm clean, rm install, add make zsh, make bash
This commit is contained in:
parent
15185f8b71
commit
624e5cc262
@ -78,6 +78,8 @@ nnoremap <C-h> :tabprevious<CR>
|
||||
nnoremap <C-l> :tabnext<CR>
|
||||
|
||||
|
||||
|
||||
|
||||
" Plugins
|
||||
set rtp+=~/.vim/bundle/Vundle.vim
|
||||
|
||||
|
||||
13
Makefile
13
Makefile
@ -1,5 +1,5 @@
|
||||
|
||||
all: install
|
||||
all: bash
|
||||
|
||||
backup:
|
||||
mv ~/.bashrc ~/.bashrc.bak || true
|
||||
@ -12,11 +12,15 @@ backup:
|
||||
mv ~/.gitconfig ~/.gitconfig.bak || true
|
||||
mv ~/.gitignore ~/.gitignore.bak || true
|
||||
|
||||
install:
|
||||
bash:
|
||||
ln -s $(PWD)/.subbash ~ || true
|
||||
ln -s $(PWD)/.subzsh ~ || true
|
||||
ln -s $(PWD)/.bashrc ~ || true
|
||||
|
||||
zsh:
|
||||
ln -s $(PWD)/.subzsh ~ || true
|
||||
ln -s $(PWD)/.zshrc ~ || true
|
||||
|
||||
tmux:
|
||||
ln -s $(PWD)/.tmux.conf ~ || true
|
||||
|
||||
vim:
|
||||
@ -27,9 +31,6 @@ vim:
|
||||
git clone https://github.com/VundleVim/Vundle.vim.git $(PWD)/.vim/bundle/Vundle.vim && \
|
||||
vim +PluginInstall +qall
|
||||
|
||||
clean:
|
||||
rm -rf .ssh doc etc img README.md
|
||||
|
||||
ssh:
|
||||
echo -e "\n" >> ~/.ssh/config && cat .ssh/config >> ~/.ssh/config
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user