From 00739e0b77455deed46d5dfe1f841c826e33f175 Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Wed, 20 Mar 2024 18:25:56 -0400 Subject: [PATCH] dotfiles: only deploy dotfiles once this makes logging in waaaay snappier --- roles/dotfiles/templates/bash_profile.j2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/dotfiles/templates/bash_profile.j2 b/roles/dotfiles/templates/bash_profile.j2 index 53d06aa..51182b0 100644 --- a/roles/dotfiles/templates/bash_profile.j2 +++ b/roles/dotfiles/templates/bash_profile.j2 @@ -1,4 +1,6 @@ # Automatically deploy dotfiles on login -~/dots/dotinstall.sh > /dev/null 2>&1 +if [ ! -e ~/.config/dot_profile.example ]; then + ~/dots/dotinstall.sh > /dev/null 2>&1 +fi source ~/.profile