diff --git a/.gitignore b/.gitignore index 12880a3..52102d1 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ # Include configs !.nanorc +!Makefile !.tmux.conf !.gitconfig !.ssh/config diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..13f4d73 --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +install: dotfiles + +# Install dotfiles in users home directory +dotfiles: + @if [ -d dotfiles ]; then \ + cp -r ./dotfiles/. $HOME \ + rm -rf dotfiles \ + else \ + echo "Dotfiles already installed or folder is missing"; \ + fi