ref Makefile

This commit is contained in:
TheK4n 2022-02-04 23:43:23 +03:00
parent f6c2af6eff
commit c7848b971c

View File

@ -13,38 +13,42 @@ backup:
mv ~/.gitignore ~/.gitignore.bak || true mv ~/.gitignore ~/.gitignore.bak || true
bash: bash:
ln -s $(PWD)/subbash ~/.subbash || true test -e ~/.subbash && false
ln -s $(PWD)/bashrc ~/.bashrc || true ln -s $(PWD)/subbash ~/.subbash
ln -s $(PWD)/bashrc ~/.bashrc
zsh: zsh:
ln -s $(PWD)/subzsh ~/.subzsh || true test -e ~/.subzsh && false
ln -s $(PWD)/zshrc ~/.zshrc || true ln -s $(PWD)/subzsh ~/.subzsh
mkdir ~/.subzsh/plugins || true ln -s $(PWD)/zshrc ~/.zshrc
git clone https://github.com/zsh-users/zsh-autosuggestions $(PWD)/subzsh/plugins/zsh-autosuggestions || true mkdir ~/.subzsh/plugins
git clone https://github.com/zsh-users/zsh-syntax-highlighting $(PWD)/subzsh/plugins/zsh-syntax-highlighting git clone https://github.com/zsh-users/zsh-autosuggestions ~/.subzsh/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting ~/.subzsh/plugins/zsh-syntax-highlighting
tmux: tmux:
ln -s $(PWD)/tmux.conf ~/.tmux.conf || true ln -s $(PWD)/tmux.conf ~/.tmux.conf
vim: vim:
ln -s $(PWD)/subvim ~/.vim && \ test -e ~/.vim && false
ln -s $(PWD)/subvim/.vimrc ~/.vimrc && \ ln -s $(PWD)/subvim ~/.vim
mkdir -p ~/.config/nvim && \ ln -s $(PWD)/subvim/.vimrc ~/.vimrc
ln -s $(PWD)/subvim/.vimrc ~/.config/nvim/init.vim && \ mkdir -p ~/.config/nvim
git clone https://github.com/VundleVim/Vundle.vim.git $(PWD)/subvim/bundle/Vundle.vim && \ ln -s $(PWD)/subvim/.vimrc ~/.config/nvim/init.vim
git clone https://github.com/VundleVim/Vundle.vim.git $(PWD)/subvim/bundle/Vundle.vim
vim +PluginInstall +qall vim +PluginInstall +qall
ssh: ssh:
echo -e "\n" >> ~/.ssh/config && cat $(PWD)/subssh/config >> ~/.ssh/config cat $(PWD)/subssh/config >> ~/.ssh/config
git: git:
ln -s $(PWD)/subgit/gitconfig ~/.gitconfig || true ln -s $(PWD)/subgit/gitconfig ~/.gitconfig
ln -s $(PWD)/subgit/gitignore ~/.gitignore || true ln -s $(PWD)/subgit/gitignore ~/.gitignore
ranger: ranger:
mkdir -p ~/.config/ranger || true test -e ~/.config/ranger && false
ln -s $(PWD)/subranger/rc.conf ~/.config/ranger || true mkdir -p ~/.config/ranger
mkdir -p ~/.config/ranger/plugins || true ln -s $(PWD)/subranger/rc.conf ~/.config/ranger
mkdir -p ~/.config/ranger/plugins
git clone https://github.com/alexanderjeurissen/ranger_devicons ~/.config/ranger/plugins/ranger_devicons git clone https://github.com/alexanderjeurissen/ranger_devicons ~/.config/ranger/plugins/ranger_devicons