mirror of
https://github.com/pgrondek/config.git
synced 2024-11-29 06:53:13 +00:00
[bash] Move configuration to separate folder
This commit is contained in:
parent
4a7be471b2
commit
9d29095e0d
15
bash/Makefile
Normal file
15
bash/Makefile
Normal 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)
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user