Use CP instead of STOW to avoid data leak and reduce a dependency

This commit is contained in:
2024-06-06 01:13:03 +01:00
parent 9071b7d39b
commit 6387df905c

View File

@@ -431,7 +431,7 @@ fi
# Main menu items # Main menu items
if [[ ${main_menu[@]} =~ 0 ]]; then # Install Dotfiles if [[ ${main_menu[@]} =~ 0 ]]; then # Install Dotfiles
sudo nala install htop fzf tmux git stow vim wget sudo nala install htop fzf tmux git vim wget
# Clone repo if needed # Clone repo if needed
if [ $(pwd) != "$HOME/dotfiles" ]; then if [ $(pwd) != "$HOME/dotfiles" ]; then
@@ -440,8 +440,8 @@ if [[ ${main_menu[@]} =~ 0 ]]; then # Install Dotfiles
cd dotfiles cd dotfiles
fi fi
# Link dotfiles # Copy dotfiles
stow -vt $HOME dotfiles cp -vrf dotfiles/.* $HOME
# Reload Fonts # Reload Fonts
fc-cache -f fc-cache -f