File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5858cp -r ~ /java-on-aws/apps/unicorn-store-spring ~ /environment/unicorn-store-spring
5959log_success " Copied unicorn-store-spring to ~/environment"
6060
61+ # Remove test folder (not needed for workshop)
62+ if [ -d ~ /environment/unicorn-store-spring/src/test ]; then
63+ log_info " Removing src/test folder..."
64+ rm -rf ~ /environment/unicorn-store-spring/src/test
65+ log_success " src/test folder removed"
66+ fi
67+
6168# Initialize git repository in unicorn-store-spring
6269log_info " Initializing git repository in unicorn-store-spring..."
6370cd ~ /environment/unicorn-store-spring
Original file line number Diff line number Diff line change 4646 exit 1
4747fi
4848
49+ # Phase 5: Simplify p10k prompt (remove vcs, kubecontext, aws)
50+ log_info " Phase 5: Simplifying p10k prompt..."
51+ P10K_FILE=" $HOME /.p10k.zsh"
52+ if [[ -f " $P10K_FILE " ]]; then
53+ # Remove vcs from left prompt
54+ sed -i " s/POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(dir vcs newline prompt_char)/POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(dir newline prompt_char)/" " $P10K_FILE "
55+ # Remove kubecontext and aws from right prompt
56+ sed -i " s/POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status command_execution_time background_jobs kubecontext aws newline)/POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status command_execution_time background_jobs newline)/" " $P10K_FILE "
57+ log_success " p10k prompt simplified"
58+ else
59+ log_warning " p10k.zsh not found, skipping prompt customization"
60+ fi
61+
4962log_success " Java-on-AWS-Immersion-Day workshop post-deploy setup completed successfully!"
5063
5164# Emit for bootstrap summary
You can’t perform that action at this time.
0 commit comments