diff --git a/tforgione.sh b/tforgione.sh index 464acf8..3575342 100755 --- a/tforgione.sh +++ b/tforgione.sh @@ -151,6 +151,10 @@ clone_dotfiles() { fi git_clone https://gitea.tforgione.fr/tforgione/dotfiles/ $HOME/.config/dotfiles + + echo "# Checks that the update is done weekly, if its not done, prints a nice message" > $HOME/.config/dotfiles/zsh/extraconfig.zsh + echo "export UPDATE_CHECK=weekly" >> $HOME/.config/dotfiles/zsh/extraconfig.zsh + mkdir -p $HOME/.config/dotfiles/.data if [ "$sudo_available" != "true" ]; then @@ -185,6 +189,10 @@ configure_shell() { rm -f $HOME/.bashrc ln -s `realpath $HOME/.config/dotfiles/bashrc` `realpath $HOME/.bashrc` + mkdir -p $HOME/.config/dotfiles/bash + echo "# Checks that the update is done weekly, if its not done, prints a nice message" > $HOME/.config/dotfiles/bash/extraconfig.bash + echo "export UPDATE_CHECK=weekly" >> $HOME/.config/dotfiles/bash/extraconfig.bash + info "bashrc configured successfully" return