From caec3cbb9f1822569e2acf3906dcf50f66bcc241 Mon Sep 17 00:00:00 2001 From: xesc Date: Sun, 10 Dec 2023 15:39:25 +0100 Subject: [PATCH] adds linking for shell to makefile --- makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index c3aabea..236bbb1 100644 --- a/makefile +++ b/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 ' 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 ' 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