adds linking for shell to makefile
This commit is contained in:
parent
4067fa97c2
commit
caec3cbb9f
1 changed files with 3 additions and 1 deletions
4
makefile
4
makefile
|
@ -1,12 +1,13 @@
|
|||
.PHONY: shell zsh tmux nvim foot sway swaylock mako tofi wlogout ncspot waybar
|
||||
|
||||
help:
|
||||
@echo "\nWelcome to my configs, feel free to use and modify them as you like! \n\nTo install all of them to your system, just '$$ make install'.\nIf you just want some of them, use '$$ make <directory_name>' for a specific application.\nFor a dry-run of any of the targets, just prepend '-dry' to the targets name.\nNote: This management relies on GNU Stow, so to work properly, please ensure you have 'stow' installed...\n\nYou don't want to use a config anymore? Prepend '-uninstall' to any config installed via the 'install'-command from earlier.\n\nTo much stuff you don't need?\n\t\tCheck out 'https://git.xesc.de/xesc'\nfor the individual repos of the applicatons.\n\nHave fun :)\n"
|
||||
@echo "\nWelcome to my configs, feel free to use and modify them as you like! \n\nTo install all of them to your system, just '$$ make install'.\nIf you just want some of them, use '$$ make <directory_name>' for a specific application.\nFor a dry-run of any of the targets, just prepend '-dry' to the targets name.\nNote: This management relies on GNU Stow, so to work properly, please ensure you have 'stow' installed...\n\nYou don't want to use a config anymore? Prepend '-uninstall' to any config installed via the 'install'-command from earlier.\n\nTo much stuff you don't need?\n\t\tCheck out 'https://git.xesc.de/xesc'\nfor the individual repos of the applicatons.\n"
|
||||
|
||||
all: shell zsh tmux nvim foot sway swaylock mako tofi wlogout ncspot waybar
|
||||
|
||||
shell:
|
||||
stow -v -t /home/"$$USER"/ shell
|
||||
ln -s /home/"$$USER"/.config/shell/profile /home/"$$USER"/.zprofile
|
||||
|
||||
zsh:
|
||||
stow -v -t /home/"$$USER"/ zsh
|
||||
|
@ -84,6 +85,7 @@ all-uninstall: shell-uninstall zsh-uninstall tmux-uninstall nvim-uninstall foot-
|
|||
|
||||
shell-uninstall:
|
||||
stow -D -v -t /home/"$$USER"/ shell
|
||||
rm -f /home/"$$USER"/.zprofile
|
||||
|
||||
zsh-uninstall:
|
||||
stow -D -v -t /home/"$$USER"/ zsh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue