diff --git a/bash/Makefile b/bash/Makefile new file mode 100644 index 0000000..a3165fe --- /dev/null +++ b/bash/Makefile @@ -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) diff --git a/bash_aliases b/bash/bash_aliases similarity index 100% rename from bash_aliases rename to bash/bash_aliases diff --git a/bashrc b/bash/bashrc similarity index 100% rename from bashrc rename to bash/bashrc diff --git a/install.sh b/install.sh index 412b0b1..ac9c101 100755 --- a/install.sh +++ b/install.sh @@ -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