30594886bfebefa0c7706dc82f533735d3a58e4b

Author
Marc Cornellà <marc.cornella@live.com>
Committer
GitHub <noreply@github.com>
Date

Message

lib: delete PS1 default

A default PS1 doesn't make sense: the user will either choose a theme or not
care about a default prompt since they can set it themselves.

Fixes #7054

Diff

 1diff --git a/lib/theme-and-appearance.zsh b/lib/theme-and-appearance.zsh
 2index 96f34aa81fa495c1b092aa05896a8d47f33fd6d9..773b5972aed36c26f61481f2ebd11d2392995129 100644
 3--- a/lib/theme-and-appearance.zsh
 4+++ b/lib/theme-and-appearance.zsh
 5@@ -45,9 +45,6 @@ setopt prompt_subst
 6 
 7 [[ -n "$WINDOW" ]] && SCREEN_NO="%B$WINDOW%b " || SCREEN_NO=""
 8 
 9-# Apply theming defaults
10-PS1="%n@%m:%~%# "
11-
12 # git theming default: Variables for theming the git info prompt
13 ZSH_THEME_GIT_PROMPT_PREFIX="git:("         # Prefix at the very beginning of the prompt, before the branch name
14 ZSH_THEME_GIT_PROMPT_SUFFIX=")"             # At the very end of the prompt