1
0
mirror of https://github.com/pgrondek/config.git synced 2024-11-25 21:25:39 +00:00

[bash] Move configuration to separate folder

This commit is contained in:
pgrondek 2019-07-11 22:56:33 +02:00
parent 4a7be471b2
commit 9d29095e0d
4 changed files with 15 additions and 4 deletions

15
bash/Makefile Normal file
View File

@ -0,0 +1,15 @@
BASH_ALIASES=bash_aliases
BASH_ALIASES_OUT=$(HOME)/.bash_aliases
BASHRC=bashrc
BASHRC_OUT=$(HOME)/.bashrc
.PHONY: clean_install
clean_install: clean install
clean:
rm -f $(BASH_ALIASES_OUT) $(BASHRC_OUT)
install:
cp $(BASH_ALIASES) $(BASH_ALIASES_OUT)
cp $(BASHRC) $(BASHRC_OUT)

View File

View File

@ -1,8 +1,6 @@
#!/bin/sh
rm -f $HOME/.vimrc
rm -f $HOME/.bashrc
rm -f $HOME/.bash_aliases
rm -f $HOME/.ideavimrc
rm -f $HOME/.config/i3/config
rm -f $HOME/.config/dunst/dunstrc
@ -21,8 +19,6 @@ mkdir -p $HOME/.ssh
mkdir -p $HOME/.local/share/applications
ln -s $(pwd)/vimrc $HOME/.vimrc
ln -s $(pwd)/bashrc $HOME/.bashrc
ln -s $(pwd)/bash_aliases $HOME/.bash_aliases
ln -s $(pwd)/ideavimrc $HOME/.ideavimrc
ln -s $(pwd)/i3-config $HOME/.config/i3/config
ln -s $(pwd)/i3blocks $HOME/.config/i3blocks