aboutsummaryrefslogblamecommitdiffstats
path: root/bash-completion/Makefile
blob: 73f3b783de344ddc2467ce0c8575c62df7b4fff1 (plain) (tree)
1
2
       
                    















                                                                                                   
.POSIX:
include ../common.mk

install:
	mkdir -p -- ~/.config/bash/aliases.d
	mkdir -p -- ~/.config/bash/bashrc.d
	test ! -d ~/.config/bash/aliases.d/bash-completion
	test ! -d ~/.config/bash/bashrc.d/bash-completion
	ln -sf -- ~/.dotfiles/bash-completion/bash-aliases ~/.config/bash/aliases.d/bash-completion
	ln -sf -- ~/.dotfiles/bash-completion/bash-bashrc ~/.config/bash/bashrc.d/bash-completion

uninstall:
	-unlink -- ~/.config/bash/aliases.d/bash-completion
	-unlink -- ~/.config/bash/bashrc.d/bash-completion
	-rmdir -- ~/.config/bash/aliases.d
	-rmdir -- ~/.config/bash/bashrc.d

.PHONY: install uninstall