From b27f396b0e77858b115cd6fbdebb725be1924b12 Mon Sep 17 00:00:00 2001 From: Phorcys <57866459+phorcys420@users.noreply.github.com> Date: Thu, 14 Mar 2024 21:41:39 +0100 Subject: [PATCH] fix(dotfiles): overwrite dotfiles log instead of appending Co-authored-by: Mathias Fredriksson --- dotfiles/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/run.sh b/dotfiles/run.sh index abd52dc..9111450 100644 --- a/dotfiles/run.sh +++ b/dotfiles/run.sh @@ -10,7 +10,7 @@ if [ -n "$${DOTFILES_URI// }" ]; then echo "✨ Applying dotfiles for user $DOTFILES_USER" if [ "$DOTFILES_USER" = "$USER" ]; then - coder dotfiles "$DOTFILES_URI" -y 2>&1 | tee -a ~/.dotfiles.log + coder dotfiles "$DOTFILES_URI" -y 2>&1 | tee ~/.dotfiles.log else # The "eval echo ~$USER" part is used to dynamically get the home directory of the user, see https://superuser.com/a/484280 # sudo -u coder sh -c 'eval echo ~$USER' -> "/home/coder" ~/projects/coder-modules