File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,9 +25,9 @@ log_info "Phase 2: Simplifying p10k prompt..."
2525P10K_FILE=" $HOME /.p10k.zsh"
2626if [[ -f " $P10K_FILE " ]]; then
2727 # Remove vcs from left prompt
28- sed -i ' ' " s/POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(dir vcs newline prompt_char)/POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(dir newline prompt_char)/" " $P10K_FILE "
28+ sed -i " s/POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(dir vcs newline prompt_char)/POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(dir newline prompt_char)/" " $P10K_FILE "
2929 # Remove kubecontext and aws from right prompt
30- 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 "
30+ 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 "
3131 log_success " p10k prompt simplified"
3232else
3333 log_warning " p10k.zsh not found, skipping prompt customization"
You can’t perform that action at this time.
0 commit comments