Makefile: Alacritty phony, profie->bash_profile
In systems with greetd or Sxmo naming my profile '.profile' conflicts with existing environment config filenames, often badly enough to arrest the entire GUI bringup sequence. To circumvent this, I'm naming my per-user shell profile '.bash_profile' instead. This compromise should work on all tested environments since I only support the Bash shell for my dotties (patches welcome for others).
This commit is contained in:
parent
ace11bbb51
commit
42b633e810
1 changed files with 5 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
DEFAULT_TARGETS += $(HOME)/.profile \
|
DEFAULT_TARGETS += $(HOME)/.bash_profile \
|
||||||
$(HOME)/.vim/bundle/Vundle.vim $(HOME)/.vimrc \
|
$(HOME)/.vim/bundle/Vundle.vim $(HOME)/.vimrc \
|
||||||
$(HOME)/.inputrc \
|
$(HOME)/.inputrc \
|
||||||
$(HOME)/.config/alacritty/alacritty.toml \
|
$(HOME)/.config/alacritty/alacritty.toml \
|
||||||
|
|
@ -51,7 +51,7 @@ $(HOME)/.profile.d/%: .profile.d/% $(HOME)/.profile.d
|
||||||
|
|
||||||
profileds: $(PROFILEDS)
|
profileds: $(PROFILEDS)
|
||||||
|
|
||||||
$(HOME)/.profile: $(PROFILE)
|
$(HOME)/.bash_profile: $(PROFILE)
|
||||||
cp $< $@
|
cp $< $@
|
||||||
|
|
||||||
$(HOME)/.profile.%: .profile.%
|
$(HOME)/.profile.%: .profile.%
|
||||||
|
|
@ -77,6 +77,8 @@ $(HOME)/.bashrc.%: .bashrc.%
|
||||||
$(HOME)/.config/alacritty/alacritty.toml: .config/alacritty/alacritty.toml
|
$(HOME)/.config/alacritty/alacritty.toml: .config/alacritty/alacritty.toml
|
||||||
$(INSTALL) -D -m 644 $< $@
|
$(INSTALL) -D -m 644 $< $@
|
||||||
|
|
||||||
|
alacritty: $(HOME)/.config/alacritty/alacritty.toml
|
||||||
|
|
||||||
### SWAY #######################################################################
|
### SWAY #######################################################################
|
||||||
|
|
||||||
$(HOME)/.sway/config: .sway/config
|
$(HOME)/.sway/config: .sway/config
|
||||||
|
|
@ -126,7 +128,7 @@ x-crap: $(HOME)/.Xmodcapslock $(HOME)/.Xdefaults $(HOME)/.Xresources $(HOME)/.xi
|
||||||
|
|
||||||
### "PHONY" TARGETS ############################################################
|
### "PHONY" TARGETS ############################################################
|
||||||
|
|
||||||
.PHONY: aliases profileds README x-crap sway i3status restart-pw pipewire
|
.PHONY: aliases profileds README x-crap sway i3status restart-pw pipewire alacritty
|
||||||
|
|
||||||
### README #####################################################################
|
### README #####################################################################
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue