]> git.rmz.io Git - dotfiles.git/blobdiff - Makefile
vim: add `= default` to "class" snippet
[dotfiles.git] / Makefile
index eb5f29b39a80721db4254bc222475da86ebc9910..e67827e089bf8404ca2bf3a3c3cc5adb89a960ac 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ APATH := $(realpath .)
 
 FILES := bin
 DOTFILES := goobookrc msmtp* profile tmux.conf weechat Xresources
-CONFIGFILES := aliases compton.conf git mpv offlineimap ranger retroarch xbindkeys xkb
+CONFIGFILES := compton.conf mpv offlineimap ranger retroarch xbindkeys xkb
 
 .PHONY: install $(FILES) $(DOTFILES) $(CONFIGFILES)
 install: $(FILES) $(DOTFILES) $(CONFIGFILES)
@@ -10,6 +10,14 @@ install: $(FILES) $(DOTFILES) $(CONFIGFILES)
 ~/.config:
        mkdir -p ~/.config
 
+task: ~/.config
+       ln -sfT $(APATH)/taskrc ~/.config/taskrc
+
+git: ~/.config
+       ln -sfT $(APATH)/git ~/.config/git
+       ln -sfT $(APATH)/tig ~/.config/tig
+.PHONY: git
+
 vim: ~/.config
        ln -sfT $(APATH)/vim ~/.config/vim
        mkdir -p ~/.local/share/vim
@@ -21,6 +29,7 @@ mutt: ~/.config
 .PHONY: mutt
 
 gdb:
+       mkdir ~/.local/share/gdb
        ln -sfT $(APATH)/gdbinit ~/.gdbinit
        ln -sfT $(APATH)/cgdb ~/.cgdb
 .PHONY: gdb
@@ -61,6 +70,7 @@ zsh: ~/.config
        ln -sfT $(APATH)/zprofile ~/.zprofile
        ln -sfT $(APATH)/zshenv ~/.zshenv
        ln -sfT $(APATH)/zsh ~/.config/zsh
+       ln -sfT $(APATH)/aliases ~/.config/aliases
        mkdir -p ~/.cache/zsh
 .PHONY: zsh