diff --git a/bash/before-tasks.sh b/bash/before-tasks.sh index cc25d9bf..22267e67 100644 --- a/bash/before-tasks.sh +++ b/bash/before-tasks.sh @@ -40,7 +40,7 @@ msg="git aliases have been written" bash bash/utils.sh add_file_to_file_after \\[alias\\] bash/snippets/emoji-log ~/.gitconfig && bash bash/utils.sh add_file_to_file_after \\[alias\\] bash/snippets/git-aliases ~/.gitconfig && log_silent "$msg" && -log_silent "\ntry: git a or: git aliases\nto see what is available.\n" +log_silent "try: git a or: git aliases to see what is available." # grc color configuration for apache logs msg="Creating grc color configuration file for apache logs in ~/apache-log-colors.conf" @@ -52,9 +52,12 @@ else log "ERROR: $msg" -e fi -# Keep this at the bottom of the file -# Restores files marked as persistant -# See persist_file in bash/helpers.sh +# Restore files marked as persistant such +# as workspace-init.log +# See persist_file in bash/helpers.sh for how to system works +# Keep this block at the bottom of the file so that any logging from this +# script is only written to file upon initialization! Otherwise workspace-init.log +# will get written to from this script upon every wrokspace restart. if [ $(bash bash/helpers.sh is_inited) == 1 ]; then bash bash/helpers.sh restore_persistent_files $GITPOD_REPO_ROOT fi \ No newline at end of file