aboutsummaryrefslogtreecommitdiffstats
path: root/bash-completion/Makefile
blob: 73f3b783de344ddc2467ce0c8575c62df7b4fff1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.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