Update p to allow nix to run in the same shell, without a reboot.

This commit is contained in:
2024-03-25 13:31:15 +00:00
parent 73f8cd4794
commit e8d8b14edf
2 changed files with 6 additions and 9 deletions

View File

@@ -13,10 +13,7 @@ elif [[ $d == "Arch" ]]; then
fi
p i stow
if [[ $? == 0 ]]; then
# Link dotfile home to $HOME
echo -e "${GREEN}[+] Symlinking dotfiles...${ENDCOLOR}"
stow -v -t $HOME home --adopt
else
echo -e "${YELLOW}[E] Installation not finished. Reboot your system and run the script again.${ENDCOLOR}"
fi
# Link dotfile home to $HOME
echo -e "${GREEN}[+] Symlinking dotfiles...${ENDCOLOR}"
stow -v -t $HOME home --adopt