mirror of
https://github.com/pgrondek/config.git
synced 2024-11-22 12:03:43 +00:00
[vim] Move configuration to separate folder
This commit is contained in:
parent
9d29095e0d
commit
7954a0d9d6
@ -1,7 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
rm -f $HOME/.vimrc
|
|
||||||
rm -f $HOME/.ideavimrc
|
|
||||||
rm -f $HOME/.config/i3/config
|
rm -f $HOME/.config/i3/config
|
||||||
rm -f $HOME/.config/dunst/dunstrc
|
rm -f $HOME/.config/dunst/dunstrc
|
||||||
rm -f $HOME/.config/i3blocks
|
rm -f $HOME/.config/i3blocks
|
||||||
@ -18,8 +16,6 @@ mkdir -p $HOME/bin/
|
|||||||
mkdir -p $HOME/.ssh
|
mkdir -p $HOME/.ssh
|
||||||
mkdir -p $HOME/.local/share/applications
|
mkdir -p $HOME/.local/share/applications
|
||||||
|
|
||||||
ln -s $(pwd)/vimrc $HOME/.vimrc
|
|
||||||
ln -s $(pwd)/ideavimrc $HOME/.ideavimrc
|
|
||||||
ln -s $(pwd)/i3-config $HOME/.config/i3/config
|
ln -s $(pwd)/i3-config $HOME/.config/i3/config
|
||||||
ln -s $(pwd)/i3blocks $HOME/.config/i3blocks
|
ln -s $(pwd)/i3blocks $HOME/.config/i3blocks
|
||||||
ln -s $(pwd)/compton.conf $HOME/.config/compton.conf
|
ln -s $(pwd)/compton.conf $HOME/.config/compton.conf
|
||||||
|
12
vim/Makefile
Normal file
12
vim/Makefile
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
VIMRC=vimrc
|
||||||
|
VIMRC_OUT=$(HOME)/.vimrc
|
||||||
|
|
||||||
|
.PHONY: clean_install
|
||||||
|
|
||||||
|
clean_install: clean install
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f $(VIMRC_OUT)
|
||||||
|
|
||||||
|
install:
|
||||||
|
cp $(VIMRC) $(VIMRC_OUT)
|
Loading…
Reference in New Issue
Block a user